mirror of https://github.com/YosysHQ/yosys.git
Added GP_COUNT8/GP_COUNT14 cells
This commit is contained in:
parent
31a7567aff
commit
3197b6c372
|
@ -82,3 +82,25 @@ module GP_LFOSC(input PWRDN, output reg CLKOUT);
|
||||||
end
|
end
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
module GP_COUNT8(input CLK, input wire RST, output reg OUT);
|
||||||
|
|
||||||
|
parameter RESET_MODE = "RISING";
|
||||||
|
|
||||||
|
parameter COUNT_TO = 8'h1;
|
||||||
|
parameter CLKIN_DIVIDE = 1;
|
||||||
|
|
||||||
|
//more complex hard IP blocks are not supported for simulation yet
|
||||||
|
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
module GP_COUNT14(input CLK, input wire RST, output reg OUT);
|
||||||
|
|
||||||
|
parameter RESET_MODE = "RISING";
|
||||||
|
|
||||||
|
parameter COUNT_TO = 14'h1;
|
||||||
|
parameter CLKIN_DIVIDE = 1;
|
||||||
|
|
||||||
|
//more complex hard IP blocks are not supported for simulation yet
|
||||||
|
|
||||||
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue