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:
parent
9b277fc21e
commit
db5765b443
6 changed files with 171 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue