We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following is verilog for which duh-import-verilog-ports incorrectly substitutes tick-define
duh-import-verilog-ports
tick-define
`define IC_ADDR_SLICE_LHS 3'h7 module DW_apb_i2c ( paddr ); input [`IC_ADDR_SLICE_LHS:0] paddr; endmodule
the corresponding json5 generated is as follows
{ component: { vendor: 'sifive', library: 'blocks', name: 'DW_apb_i2c', version: '0.1.0', busInterfaces: [], addressSpaces: [], memoryMaps: [], model: { views: [], ports: { $ref: '#/definitions/ports', }, }, fileSets: {}, pSchema: {}, }, definitions: { ports: { paddr: '3 h7 + 1', }, }, }
The text was updated successfully, but these errors were encountered:
Tick-define substitution was fine, but in the following expression
input [3'h7:0] paddr;
The width of the signal was calculated as "3 h7 + 1"
Sorry, something went wrong.
Ramlakshmi3733
No branches or pull requests
Following is verilog for which
duh-import-verilog-ports
incorrectly substitutestick-define
the corresponding json5 generated is as follows
The text was updated successfully, but these errors were encountered: