forked from f4pga/f4pga-arch-defs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request f4pga#1816 from litghost/test_upstream_yosys
Use upstream packages directly
- Loading branch information
Showing
8 changed files
with
35 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
echo | ||
echo "========================================" | ||
echo "Moving home directory." | ||
echo "----------------------------------------" | ||
echo | ||
echo "Old home directory: ${HOME}" | ||
echo | ||
mkdir home | ||
cp -r $HOME/. home/ | ||
export HOME=$(pwd)/home | ||
echo "New home directory: ${HOME}" | ||
echo " $(echo ~/)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
(* whitebox *) (* CLASS="flipflop" *) | ||
module FF(clk, D, Q); | ||
|
||
(* PORT_CLASS = "clock" *) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module \$_DFF_N_ (input D, C, output Q); FF _TECHMAP_REPLACE_ (.D(D), .Q(Q), .clk(C)); endmodule | ||
module \$_DFF_P_ (input D, C, output Q); FF _TECHMAP_REPLACE_ (.D(D), .Q(Q), .clk(C)); endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
yosys -import | ||
|
||
read_verilog -lib $::env(TECHMAP_PATH)/../primitives/ff/ff.sim.v | ||
|
||
synth -top top -flatten | ||
abc -lut 4 | ||
opt_clean | ||
|
||
dfflegalize -cell \$_DFF_?_ 0 | ||
techmap -map $::env(TECHMAP_PATH)/ff_map.v | ||
|
||
write_json $::env(OUT_JSON) | ||
write_verilog $::env(OUT_SYNTH_V) |
Submodule symbiyosys
updated
from 3ec2b6 to 091222