mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-29 22:40:12 +00:00
Updated the liberty parser to accept [A:B] ranges (AST has not been updated). Liberty parser now also accepts key : value pair lines that do not end in ';'.
This commit is contained in:
parent
ccfa2fe01c
commit
3b3b77291a
8 changed files with 631 additions and 7 deletions
16
tests/liberty/small.v
Normal file
16
tests/liberty/small.v
Normal file
|
@ -0,0 +1,16 @@
|
|||
/** small, meaningless design to test loading of liberty files */
|
||||
|
||||
module small
|
||||
(
|
||||
input clk,
|
||||
output reg[7:0] count
|
||||
);
|
||||
|
||||
initial count = 0;
|
||||
|
||||
always @ (posedge clk)
|
||||
begin
|
||||
count <= count + 1'b1;
|
||||
end
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue