mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +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
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ file delete -force proj
|
|||
new_project \
|
||||
-name example \
|
||||
-location proj \
|
||||
-block_mode 1 \
|
||||
-block_mode 0 \
|
||||
-hdl "VERILOG" \
|
||||
-family IGLOO2 \
|
||||
-die PA4MGL500 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue