mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-12 14:11:00 +00:00
add more tests for bounds attributes, fix attributes appearing in verilog
This commit is contained in:
parent
e91e95f501
commit
03033ab6d4
4 changed files with 259 additions and 16 deletions
14
tests/verific/bounds.sv
Normal file
14
tests/verific/bounds.sv
Normal file
|
@ -0,0 +1,14 @@
|
|||
module test (
|
||||
input ia,
|
||||
output oa,
|
||||
input [0:0] ib,
|
||||
output [0:0] ob,
|
||||
input [3:0] ic,
|
||||
output [3:0] oc
|
||||
);
|
||||
|
||||
assign oa = ia;
|
||||
assign ob = ib;
|
||||
assign oc = ic;
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue