Debian Codegraph @

runtime/queries/hdl/locals.scm

raw symbols SCIP
1 ; Scopes
2
3 (chip_definition) @local.scope
4
5 ; Definitions
6
7 ; A chip's IN/OUT/CLOCKED pins are the signals visible inside its PARTS body.
8 (in_section
9 input_pin_name: (identifier) @local.definition.variable.parameter)
10 (out_section
11 output_pin_name: (identifier) @local.definition.variable.parameter)
12 (clocked_body
13 (identifier) @local.definition.variable.parameter)
14
15 ; References
16
17 ; In `part_pin=chip_pin`, the chip_pin is a signal in the enclosing chip's scope.
18 (connection
19 chip_pin: (identifier) @local.reference)
20 (connection
21 chip_pin: (bus_identifier
22 (identifier) @local.reference))