3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-21 13:23:40 +00:00

Add SF2 IO buffer insertion

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2019-01-17 14:38:37 +01:00
parent 9b277fc21e
commit db5765b443
6 changed files with 171 additions and 3 deletions

View file

@ -1,5 +1,6 @@
module example (
input clk,
input EN,
output LED1,
output LED2,
output LED3,
@ -14,7 +15,7 @@ module example (
reg [BITS-1:0] outcnt;
always @(posedge clk) begin
counter <= counter + 1;
counter <= counter + EN;
outcnt <= counter >> LOG2DELAY;
end