mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-05 15:06:11 +00:00
commit
30d0b39a15
590 changed files with 7338 additions and 7566 deletions
1
.github/ISSUE_TEMPLATE/config.yml
vendored
1
.github/ISSUE_TEMPLATE/config.yml
vendored
|
|
@ -5,4 +5,3 @@ contact_links:
|
||||||
- name: IRC Channel
|
- name: IRC Channel
|
||||||
url: https://web.libera.chat/#yosys
|
url: https://web.libera.chat/#yosys
|
||||||
about: "#yosys on irc.libera.chat"
|
about: "#yosys on irc.libera.chat"
|
||||||
|
|
||||||
|
|
|
||||||
1
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
1
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
|
|
@ -22,4 +22,3 @@ body:
|
||||||
description: "A clear and detailed description of the feature."
|
description: "A clear and detailed description of the feature."
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|
|
||||||
30
.pre-commit-config.yaml
Normal file
30
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# To use:
|
||||||
|
#
|
||||||
|
# pre-commit run -a
|
||||||
|
#
|
||||||
|
# Or:
|
||||||
|
#
|
||||||
|
# pre-commit install # (runs every time you commit in git)
|
||||||
|
#
|
||||||
|
# To update this file:
|
||||||
|
#
|
||||||
|
# pre-commit autoupdate
|
||||||
|
#
|
||||||
|
# See https://github.com/pre-commit/pre-commit
|
||||||
|
|
||||||
|
exclude: ^libs/
|
||||||
|
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v6.0.0
|
||||||
|
hooks:
|
||||||
|
- id: check-case-conflict
|
||||||
|
- id: check-executables-have-shebangs
|
||||||
|
- id: check-illegal-windows-names
|
||||||
|
- id: check-yaml
|
||||||
|
args: [--allow-multiple-documents]
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: fix-byte-order-marker
|
||||||
|
- id: mixed-line-ending
|
||||||
|
args: [--fix,lf]
|
||||||
|
- id: trailing-whitespace
|
||||||
|
|
@ -1802,4 +1802,3 @@ Yosys 0.1.0 .. Yosys 0.2.0
|
||||||
- Added "design -stash/-copy-from/-copy-to"
|
- Added "design -stash/-copy-from/-copy-to"
|
||||||
- Added "copy" command
|
- Added "copy" command
|
||||||
- Added "splice" command
|
- Added "splice" command
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -303,4 +303,3 @@ DOCS (e.g.)
|
||||||
This will build/rebuild yosys as necessary before generating the website
|
This will build/rebuild yosys as necessary before generating the website
|
||||||
documentation from the yosys help commands. To build for pdf instead of html,
|
documentation from the yosys help commands. To build for pdf instead of html,
|
||||||
use the `docs-latexpdf` target.
|
use the `docs-latexpdf` target.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,4 +27,3 @@ for fn in test_*.il; do
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "OK."
|
echo "OK."
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,4 +118,3 @@ os.system("set -x; ./test_gold > test_gold.out")
|
||||||
os.system("set -x; ./test_gate > test_gate.out")
|
os.system("set -x; ./test_gate > test_gate.out")
|
||||||
|
|
||||||
os.system("set -x; md5sum test_gold.out test_gate.out")
|
os.system("set -x; md5sum test_gold.out test_gate.out")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@ endmodule
|
||||||
module unit_y(input [31:0] a, b, c, output [31:0] y);
|
module unit_y(input [31:0] a, b, c, output [31:0] y);
|
||||||
assign y = a & (b | c);
|
assign y = a & (b | c);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,3 @@ echo ""
|
||||||
echo " All tests passed."
|
echo " All tests passed."
|
||||||
echo ""
|
echo ""
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,3 @@ for fn in test_*.il; do
|
||||||
done
|
done
|
||||||
|
|
||||||
grep '^-- invariant .* is false' *.out || echo 'All OK.'
|
grep '^-- invariant .* is false' *.out || echo 'All OK.'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,4 +29,3 @@ Yosys environment variables
|
||||||
``YOSYS_ABORT_ON_LOG_ERROR``
|
``YOSYS_ABORT_ON_LOG_ERROR``
|
||||||
Can be used for debugging Yosys internals. Setting it to 1 causes abort() to
|
Can be used for debugging Yosys internals. Setting it to 1 causes abort() to
|
||||||
be called when Yosys terminates with an error message.
|
be called when Yosys terminates with an error message.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,3 @@ output reg Q;
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,3 @@ macc_xilinx_xmap.dot: macc_xilinx_*.v macc_xilinx_test.ys
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
@rm -f *.dot
|
@rm -f *.dot
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,4 +50,3 @@ show -prefix macc_xilinx_test2e -format dot -notitle test2
|
||||||
|
|
||||||
design -load __macc_xilinx_xmap
|
design -load __macc_xilinx_xmap
|
||||||
show -prefix macc_xilinx_xmap -format dot -notitle
|
show -prefix macc_xilinx_xmap -format dot -notitle
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,4 +88,3 @@ check:
|
||||||
stat
|
stat
|
||||||
check -noinit
|
check -noinit
|
||||||
blackbox =A:whitebox
|
blackbox =A:whitebox
|
||||||
|
|
||||||
|
|
@ -15,4 +15,3 @@ opt_merge after
|
||||||
clean
|
clean
|
||||||
|
|
||||||
show -format dot -prefix opt_merge_full -notitle -color cornflowerblue uut
|
show -format dot -prefix opt_merge_full -notitle -color cornflowerblue uut
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,3 @@ opt_muxtree after
|
||||||
clean
|
clean
|
||||||
|
|
||||||
show -format dot -prefix opt_muxtree_full -notitle -color cornflowerblue uut
|
show -format dot -prefix opt_muxtree_full -notitle -color cornflowerblue uut
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,3 @@ eval -set in 1 -show out
|
||||||
eval -set in 270369 -show out
|
eval -set in 270369 -show out
|
||||||
|
|
||||||
sat -set out 632435482
|
sat -set out 632435482
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,3 @@ examples:
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
@rm -f *.dot
|
@rm -f *.dot
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,4 +178,3 @@ of carry chains and DSPs, it avoids optimising for a path that isn't the actual
|
||||||
critical path, while the generally-longer paths result in ABC9 being able to
|
critical path, while the generally-longer paths result in ABC9 being able to
|
||||||
reduce design area by mapping other logic to slower cells with greater logic
|
reduce design area by mapping other logic to slower cells with greater logic
|
||||||
density.
|
density.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,4 +31,3 @@ for commands such as `abc`\ /`abc9`, `simplemap`, `dfflegalize`, and
|
||||||
extract
|
extract
|
||||||
abc
|
abc
|
||||||
cell_libs
|
cell_libs
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -787,4 +787,3 @@ Asynchronous writes
|
||||||
end
|
end
|
||||||
|
|
||||||
assign read_data = mem[read_addr];
|
assign read_data = mem[read_addr];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,3 @@ of interest for developers looking to customise Yosys builds.
|
||||||
advanced_bugpoint
|
advanced_bugpoint
|
||||||
contributing
|
contributing
|
||||||
test_suites
|
test_suites
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -194,4 +194,3 @@ compiler versions. For up to date information, including OS versions, refer to
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cmake --build build --target test-unit
|
cmake --build build --target test-unit
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,3 @@ These scripts contain three types of commands:
|
||||||
overview
|
overview
|
||||||
control_and_data
|
control_and_data
|
||||||
verilog_frontend
|
verilog_frontend
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,4 +56,3 @@ constructs must be called from the synthesis script first.
|
||||||
.. [1]
|
.. [1]
|
||||||
In Yosys the term pass is only used to refer to commands that operate on the
|
In Yosys the term pass is only used to refer to commands that operate on the
|
||||||
RTLIL data structure.
|
RTLIL data structure.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,3 @@ Programming board:
|
||||||
|
|
||||||
All of the above:
|
All of the above:
|
||||||
bash run.sh
|
bash run.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@ create_clock -add -name sys_clk_pin -period 10.00 -waveform {0 5} [get_ports CLK
|
||||||
|
|
||||||
set_property CONFIG_VOLTAGE 3.3 [current_design]
|
set_property CONFIG_VOLTAGE 3.3 [current_design]
|
||||||
set_property CFGBVS VCCO [current_design]
|
set_property CFGBVS VCCO [current_design]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,3 @@ Each test bench can be run separately by either running:
|
||||||
|
|
||||||
The later case also includes pure verilog simulation using the iverilog
|
The later case also includes pure verilog simulation using the iverilog
|
||||||
and gtkwave for comparison.
|
and gtkwave for comparison.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,4 +36,3 @@ X1 nC D t DLATCH
|
||||||
X2 C t Q DLATCH
|
X2 C t Q DLATCH
|
||||||
X3 C nC NOT
|
X3 C nC NOT
|
||||||
.ENDS DFF
|
.ENDS DFF
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,4 +41,3 @@ always @(posedge C, posedge S, posedge R)
|
||||||
else
|
else
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,4 +28,3 @@ Alatch D E null null Q nQ latch1
|
||||||
.model dff1 d_dff
|
.model dff1 d_dff
|
||||||
Adff D C null null Q nQ dff1
|
Adff D C null null Q nQ dff1
|
||||||
.ENDS DFF
|
.ENDS DFF
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,3 @@ abc -liberty cmos_cells.lib;;
|
||||||
|
|
||||||
write_verilog synth.v
|
write_verilog synth.v
|
||||||
write_spice -neg 0s -pos 1s synth.sp
|
write_spice -neg 0s -pos 1s synth.sp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,3 @@ set -ex
|
||||||
|
|
||||||
../../yosys counter.ys
|
../../yosys counter.ys
|
||||||
ngspice testbench.sp
|
ngspice testbench.sp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,3 @@ iverilog -o counter_tb counter.v counter_tb.v
|
||||||
|
|
||||||
# requires ngspice with xspice support enabled:
|
# requires ngspice with xspice support enabled:
|
||||||
ngspice testbench_digital.sp
|
ngspice testbench_digital.sp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,3 @@ int main()
|
||||||
Yosys::yosys_shutdown();
|
Yosys::yosys_shutdown();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,3 @@ gowinTool_linux directory
|
||||||
|
|
||||||
3.) edit gowinTool_linux/bin/gwlicense.ini. Set lic="..." to
|
3.) edit gowinTool_linux/bin/gwlicense.ini. Set lic="..." to
|
||||||
the full path to the license file.
|
the full path to the license file.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,3 @@
|
||||||
|
|
||||||
iverilog -D POST_IMPL -o verif_post -s tb_top tb_top.v top.vqm $(yosys-config --datdir/altera_intel/max10/cells_comb_max10.v)
|
iverilog -D POST_IMPL -o verif_post -s tb_top tb_top.v top.vqm $(yosys-config --datdir/altera_intel/max10/cells_comb_max10.v)
|
||||||
vvp -N verif_post
|
vvp -N verif_post
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,3 @@
|
||||||
|
|
||||||
iverilog -D POST_IMPL -o verif_post -s tb lfsr_updown_tb.v top.vqm $(yosys-config --datdir/altera_intel/max10/cells_comb_max10.v)
|
iverilog -D POST_IMPL -o verif_post -s tb lfsr_updown_tb.v top.vqm $(yosys-config --datdir/altera_intel/max10/cells_comb_max10.v)
|
||||||
vvp -N verif_post
|
vvp -N verif_post
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,3 @@ osu035_stdcells.lib:
|
||||||
clean:
|
clean:
|
||||||
rm -f osu035_stdcells.lib
|
rm -f osu035_stdcells.lib
|
||||||
rm -f example.yslog example.edif
|
rm -f example.yslog example.edif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,4 +74,3 @@ clean:
|
||||||
rm -f glift_mux.ys
|
rm -f glift_mux.ys
|
||||||
|
|
||||||
.PHONY: demo1 demo2 demo3 demo4 demo5 demo6 demo7 demo8 demo9 clean
|
.PHONY: demo1 demo2 demo3 demo4 demo5 demo6 demo7 demo8 demo9 clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,3 @@ module demo9;
|
||||||
cover(1);
|
cover(1);
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
0
examples/smtbmc/glift/C7552.v
Executable file → Normal file
0
examples/smtbmc/glift/C7552.v
Executable file → Normal file
0
examples/smtbmc/glift/C880.v
Executable file → Normal file
0
examples/smtbmc/glift/C880.v
Executable file → Normal file
0
examples/smtbmc/glift/alu2.v
Executable file → Normal file
0
examples/smtbmc/glift/alu2.v
Executable file → Normal file
0
examples/smtbmc/glift/alu4.v
Executable file → Normal file
0
examples/smtbmc/glift/alu4.v
Executable file → Normal file
0
examples/smtbmc/glift/t481.v
Executable file → Normal file
0
examples/smtbmc/glift/t481.v
Executable file → Normal file
0
examples/smtbmc/glift/too_large.v
Executable file → Normal file
0
examples/smtbmc/glift/too_large.v
Executable file → Normal file
0
examples/smtbmc/glift/ttt2.v
Executable file → Normal file
0
examples/smtbmc/glift/ttt2.v
Executable file → Normal file
0
examples/smtbmc/glift/x1.v
Executable file → Normal file
0
examples/smtbmc/glift/x1.v
Executable file → Normal file
|
|
@ -161,4 +161,3 @@ std::unique_ptr<AST::AstNode> AST::dpi_call(AstSrcLocType, const std::string&, c
|
||||||
YOSYS_NAMESPACE_END
|
YOSYS_NAMESPACE_END
|
||||||
|
|
||||||
#endif /* YOSYS_ENABLE_LIBFFI */
|
#endif /* YOSYS_ENABLE_LIBFFI */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -691,4 +691,3 @@ struct BlifFrontend : public Frontend {
|
||||||
} BlifFrontend;
|
} BlifFrontend;
|
||||||
|
|
||||||
YOSYS_NAMESPACE_END
|
YOSYS_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -836,5 +836,3 @@ skip_cell:;
|
||||||
} LibertyFrontend;
|
} LibertyFrontend;
|
||||||
|
|
||||||
YOSYS_NAMESPACE_END
|
YOSYS_NAMESPACE_END
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,4 +34,3 @@ should be something like this:
|
||||||
SBY [example] summary: engine_0 (smtbmc yices) returned PASS for induction
|
SBY [example] summary: engine_0 (smtbmc yices) returned PASS for induction
|
||||||
SBY [example] summary: successful proof by k-induction.
|
SBY [example] summary: successful proof by k-induction.
|
||||||
SBY [example] DONE (PASS, rc=0)
|
SBY [example] DONE (PASS, rc=0)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -713,4 +713,3 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
||||||
<*>. { BEGIN(0); return char_tok(*YYText(), out_loc); }
|
<*>. { BEGIN(0); return char_tok(*YYText(), out_loc); }
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -712,4 +712,3 @@ RTLIL::Const RTLIL::const_bwmux(const RTLIL::Const &arg1, const RTLIL::Const &ar
|
||||||
}
|
}
|
||||||
|
|
||||||
YOSYS_NAMESPACE_END
|
YOSYS_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,4 +97,3 @@ for line in fileinput.input():
|
||||||
print(simHelper)
|
print(simHelper)
|
||||||
# new
|
# new
|
||||||
simHelper = SimHelper()
|
simHelper = SimHelper()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -169,4 +169,3 @@ void PrettyJson::entry_json(const char *name, const Json &value)
|
||||||
this->name(name);
|
this->name(name);
|
||||||
this->value(value);
|
this->value(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -401,4 +401,3 @@ struct DesignPass : public Pass {
|
||||||
} DesignPass;
|
} DesignPass;
|
||||||
|
|
||||||
YOSYS_NAMESPACE_END
|
YOSYS_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,4 +282,3 @@ struct OptLutInsPass : public Pass {
|
||||||
} OptLutInsPass;
|
} OptLutInsPass;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -347,4 +347,3 @@ struct OptMemFeedbackPass : public Pass {
|
||||||
} OptMemFeedbackPass;
|
} OptMemFeedbackPass;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -106,4 +106,3 @@ struct OptMemPriorityPass : public Pass {
|
||||||
} OptMemPriorityPass;
|
} OptMemPriorityPass;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -650,4 +650,3 @@ struct WreducePass : public Pass {
|
||||||
} WreducePass;
|
} WreducePass;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,4 +117,3 @@ struct ProcMemWrPass : public Pass {
|
||||||
} ProcMemWrPass;
|
} ProcMemWrPass;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -82,4 +82,3 @@ always @(posedge clk)
|
||||||
assign y = counter == 12;
|
assign y = counter == 12;
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@ sat -show rst,counter -set-at 3 y 1'b1 -seq 4 example004
|
||||||
|
|
||||||
sat -prove y 1'b0 -show rst,counter,y -ignore_unknown_cells example004
|
sat -prove y 1'b0 -show rst,counter,y -ignore_unknown_cells example004
|
||||||
sat -prove y 1'b0 -tempinduct -show rst,counter,y -set-at 1 rst 1'b1 -seq 1 example004
|
sat -prove y 1'b0 -tempinduct -show rst,counter,y -set-at 1 rst 1'b1 -seq 1 example004
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
#define FILTERLIB
|
#define FILTERLIB
|
||||||
#include "libparse.cc"
|
#include "libparse.cc"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1286,4 +1286,3 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -389,4 +389,3 @@ struct TestAutotbBackend : public Backend {
|
||||||
} TestAutotbBackend;
|
} TestAutotbBackend;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,4 +70,3 @@ module \$_DFF_P_ (input D, C, output Q);
|
||||||
DFF _TECHMAP_REPLACE_
|
DFF _TECHMAP_REPLACE_
|
||||||
(.q(Q), .d(D), .ck(C));
|
(.q(Q), .d(D), .ck(C));
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,3 @@ module DFF (output reg q,
|
||||||
q <= d;
|
q <= d;
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -170,4 +170,3 @@ module _80_analogdevices_alu (A, B, CI, BI, X, Y, CO);
|
||||||
|
|
||||||
assign X = S;
|
assign X = S;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,4 +60,3 @@ module \$_SDFFE_PP1P_ (input D, C, E, R, output Q);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,4 +76,3 @@ module \$lut (A, Y);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,4 +62,3 @@ assign X = AA ^ BB;
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,3 @@ endmodule
|
||||||
module \$__FABULOUS_OBUF (output PAD, input I);
|
module \$__FABULOUS_OBUF (output PAD, input I);
|
||||||
IO_1_bidirectional_frame_config_pass _TECHMAP_REPLACE_ (.PAD(PAD), .I(I), .T(1'b0));
|
IO_1_bidirectional_frame_config_pass _TECHMAP_REPLACE_ (.PAD(PAD), .I(I), .T(1'b0));
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -216,4 +216,3 @@ struct GatemateFoldInvPass : public Pass {
|
||||||
} GatemateFoldInvPass;
|
} GatemateFoldInvPass;
|
||||||
|
|
||||||
PRIVATE_NAMESPACE_END
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -257,4 +257,3 @@ module ADCA (
|
||||||
parameter CSR_OFFSET = -12'd1180; // Parameter 2, signed number, temperature mode - 1560~- 760, typical value - 1180; Voltage mode - 410~410, typical value 0
|
parameter CSR_OFFSET = -12'd1180; // Parameter 2, signed number, temperature mode - 1560~- 760, typical value - 1180; Voltage mode - 410~410, typical value 0
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,4 +64,3 @@ module _80_gw1n_alu(A, B, CI, BI, X, Y, CO);
|
||||||
end endgenerate
|
end endgenerate
|
||||||
assign X = AA ^ BB ^ {Y_WIDTH{BI}};
|
assign X = AA ^ BB ^ {Y_WIDTH{BI}};
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2151,5 +2151,3 @@ module EMCU (
|
||||||
|
|
||||||
);
|
);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,4 +103,3 @@ if __name__ == '__main__':
|
||||||
with open(f'adc.v', 'r') as fin:
|
with open(f'adc.v', 'r') as fin:
|
||||||
for l in fin:
|
for l in fin:
|
||||||
fout.write(l);
|
fout.write(l);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2787,4 +2787,3 @@ module ADCA (
|
||||||
parameter CSR_OFFSET = -12'd1180; // Parameter 2, signed number, temperature mode - 1560~- 760, typical value - 1180; Voltage mode - 410~410, typical value 0
|
parameter CSR_OFFSET = -12'd1180; // Parameter 2, signed number, temperature mode - 1560~- 760, typical value - 1180; Voltage mode - 410~410, typical value 0
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,4 +72,3 @@ module _80_ice40_alu (A, B, CI, BI, X, Y, CO);
|
||||||
|
|
||||||
assign X = AA ^ BB;
|
assign X = AA ^ BB;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,3 @@ for dbits in 2 4 8 16 24 32; do
|
||||||
if grep -H ERROR ${id}_tb.txt; then false; fi
|
if grep -H ERROR ${id}_tb.txt; then false; fi
|
||||||
done; done
|
done; done
|
||||||
echo OK
|
echo OK
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,4 +90,3 @@ module \$__M9K_ALTSYNCRAM_SINGLEPORT_FULL (CLK2, CLK3, A1ADDR, A1DATA, A1EN, B1A
|
||||||
.addressstall_b(1'b0));
|
.addressstall_b(1'b0));
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,5 +71,3 @@ module \$lut (A, Y);
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,5 +55,3 @@ module \$lut (A, Y);
|
||||||
wire _TECHMAP_FAIL_ = 1;
|
wire _TECHMAP_FAIL_ = 1;
|
||||||
endgenerate
|
endgenerate
|
||||||
endmodule //
|
endmodule //
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -295,5 +295,3 @@ module cycloneiv_pll
|
||||||
output icdrclk;
|
output icdrclk;
|
||||||
|
|
||||||
endmodule // cycloneive_pll
|
endmodule // cycloneive_pll
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,5 +71,3 @@ module \$lut (A, Y);
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,5 +55,3 @@ module \$lut (A, Y);
|
||||||
wire _TECHMAP_FAIL_ = 1;
|
wire _TECHMAP_FAIL_ = 1;
|
||||||
endgenerate
|
endgenerate
|
||||||
endmodule //
|
endmodule //
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,4 +70,3 @@ module \$__MUL9X9 (input [8:0] A, input [8:0] B, output [17:0] Y);
|
||||||
.dataout (Y)
|
.dataout (Y)
|
||||||
);
|
);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2030,4 +2030,3 @@ module DCUA(CH0_HDINP, CH1_HDINP, CH0_HDINN, CH1_HDINN, D_TXBIT_CLKP_FROM_ND, D_
|
||||||
input D_REFCLKI;
|
input D_REFCLKI;
|
||||||
output D_FFS_PLOL;
|
output D_FFS_PLOL;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10589,4 +10589,3 @@ module PCLKDIVSP(CLKIN, CLKOUT, LSRPDIV);
|
||||||
output CLKOUT;
|
output CLKOUT;
|
||||||
input LSRPDIV;
|
input LSRPDIV;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -579,4 +579,3 @@ endmodule
|
||||||
module TSALL(TSALL);
|
module TSALL(TSALL);
|
||||||
input TSALL;
|
input TSALL;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -579,4 +579,3 @@ endmodule
|
||||||
module TSALL(TSALL);
|
module TSALL(TSALL);
|
||||||
input TSALL;
|
input TSALL;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -580,4 +580,3 @@ endmodule
|
||||||
module TSALL(TSALL);
|
module TSALL(TSALL);
|
||||||
input TSALL;
|
input TSALL;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,4 +102,3 @@ module \$__SF2_ALU (A, B, CI, BI, X, Y, CO);
|
||||||
);
|
);
|
||||||
end endgenerate
|
end endgenerate
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,4 +101,3 @@ module \$lut (A, Y);
|
||||||
endgenerate
|
endgenerate
|
||||||
endmodule
|
endmodule
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,4 +123,3 @@ RAM64x12 #(
|
||||||
);
|
);
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2153,4 +2153,3 @@ module NX_IOM_CONTROL_L(RTCK1, RRCK1, WTCK1, WRCK1, RTCK2, RRCK2, WTCK2, WRCK2,
|
||||||
parameter sel_clkw_rx1 = 2'b00;
|
parameter sel_clkw_rx1 = 2'b00;
|
||||||
parameter sel_clkw_rx2 = 2'b00;
|
parameter sel_clkw_rx2 = 2'b00;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue