End of file fix

This commit is contained in:
Miodrag Milanovic 2026-06-23 07:23:41 +02:00
parent 3ac58b3ac1
commit 48a3dcc02a
304 changed files with 64 additions and 321 deletions

View File

@ -5,4 +5,3 @@ contact_links:
- name: IRC Channel
url: https://web.libera.chat/#yosys
about: "#yosys on irc.libera.chat"

View File

@ -22,4 +22,3 @@ body:
description: "A clear and detailed description of the feature."
validations:
required: true

View File

@ -1802,4 +1802,3 @@ Yosys 0.1.0 .. Yosys 0.2.0
- Added "design -stash/-copy-from/-copy-to"
- Added "copy" command
- Added "splice" command

View File

@ -303,4 +303,3 @@ DOCS (e.g.)
This will build/rebuild yosys as necessary before generating the website
documentation from the yosys help commands. To build for pdf instead of html,
use the `docs-latexpdf` target.

View File

@ -27,4 +27,3 @@ for fn in test_*.il; do
done
echo "OK."

View File

@ -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; md5sum test_gold.out test_gate.out")

View File

@ -11,4 +11,3 @@ endmodule
module unit_y(input [31:0] a, b, c, output [31:0] y);
assign y = a & (b | c);
endmodule

View File

@ -52,4 +52,3 @@ echo ""
echo " All tests passed."
echo ""
exit 0

View File

@ -30,4 +30,3 @@ for fn in test_*.il; do
done
grep '^-- invariant .* is false' *.out || echo 'All OK.'

View File

@ -29,4 +29,3 @@ Yosys environment variables
``YOSYS_ABORT_ON_LOG_ERROR``
Can be used for debugging Yosys internals. Setting it to 1 causes abort() to
be called when Yosys terminates with an error message.

View File

@ -20,4 +20,3 @@ output reg Q;
always @(posedge C)
Q <= D;
endmodule

View File

@ -16,4 +16,3 @@ macc_xilinx_xmap.dot: macc_xilinx_*.v macc_xilinx_test.ys
.PHONY: clean
clean:
@rm -f *.dot

View File

@ -50,4 +50,3 @@ show -prefix macc_xilinx_test2e -format dot -notitle test2
design -load __macc_xilinx_xmap
show -prefix macc_xilinx_xmap -format dot -notitle

View File

@ -15,4 +15,3 @@ opt_merge after
clean
show -format dot -prefix opt_merge_full -notitle -color cornflowerblue uut

View File

@ -14,4 +14,3 @@ opt_muxtree after
clean
show -format dot -prefix opt_muxtree_full -notitle -color cornflowerblue uut

View File

@ -19,4 +19,3 @@ eval -set in 1 -show out
eval -set in 270369 -show out
sat -set out 632435482

View File

@ -17,4 +17,3 @@ examples:
.PHONY: clean
clean:
@rm -f *.dot

View File

@ -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
reduce design area by mapping other logic to slower cells with greater logic
density.

View File

@ -31,4 +31,3 @@ for commands such as `abc`\ /`abc9`, `simplemap`, `dfflegalize`, and
extract
abc
cell_libs

View File

@ -787,4 +787,3 @@ Asynchronous writes
end
assign read_data = mem[read_addr];

View File

@ -14,4 +14,3 @@ of interest for developers looking to customise Yosys builds.
advanced_bugpoint
contributing
test_suites

View File

@ -194,4 +194,3 @@ compiler versions. For up to date information, including OS versions, refer to
.. code-block:: console
cmake --build build --target test-unit

View File

@ -16,4 +16,3 @@ These scripts contain three types of commands:
overview
control_and_data
verilog_frontend

View File

@ -56,4 +56,3 @@ constructs must be called from the synthesis script first.
.. [1]
In Yosys the term pass is only used to refer to commands that operate on the
RTLIL data structure.

View File

@ -16,4 +16,3 @@ Programming board:
All of the above:
bash run.sh

View File

@ -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 CFGBVS VCCO [current_design]

View File

@ -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
and gtkwave for comparison.

View File

@ -36,4 +36,3 @@ X1 nC D t DLATCH
X2 C t Q DLATCH
X3 C nC NOT
.ENDS DFF

View File

@ -41,4 +41,3 @@ always @(posedge C, posedge S, posedge R)
else
Q <= D;
endmodule

View File

@ -28,4 +28,3 @@ Alatch D E null null Q nQ latch1
.model dff1 d_dff
Adff D C null null Q nQ dff1
.ENDS DFF

View File

@ -13,4 +13,3 @@ abc -liberty cmos_cells.lib;;
write_verilog synth.v
write_spice -neg 0s -pos 1s synth.sp

View File

@ -4,4 +4,3 @@ set -ex
../../yosys counter.ys
ngspice testbench.sp

View File

@ -12,4 +12,3 @@ iverilog -o counter_tb counter.v counter_tb.v
# requires ngspice with xspice support enabled:
ngspice testbench_digital.sp

View File

@ -19,4 +19,3 @@ int main()
Yosys::yosys_shutdown();
return 0;
}

View File

@ -14,4 +14,3 @@ gowinTool_linux directory
3.) edit gowinTool_linux/bin/gwlicense.ini. Set lic="..." to
the full path to the license file.

View 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)
vvp -N verif_post

View File

@ -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)
vvp -N verif_post

View File

@ -10,4 +10,3 @@ osu035_stdcells.lib:
clean:
rm -f osu035_stdcells.lib
rm -f example.yslog example.edif

View File

@ -74,4 +74,3 @@ clean:
rm -f glift_mux.ys
.PHONY: demo1 demo2 demo3 demo4 demo5 demo6 demo7 demo8 demo9 clean

View File

@ -10,4 +10,3 @@ module demo9;
cover(1);
end
endmodule

View File

@ -161,4 +161,3 @@ std::unique_ptr<AST::AstNode> AST::dpi_call(AstSrcLocType, const std::string&, c
YOSYS_NAMESPACE_END
#endif /* YOSYS_ENABLE_LIBFFI */

View File

@ -691,4 +691,3 @@ struct BlifFrontend : public Frontend {
} BlifFrontend;
YOSYS_NAMESPACE_END

View File

@ -836,5 +836,3 @@ skip_cell:;
} LibertyFrontend;
YOSYS_NAMESPACE_END

View File

@ -34,4 +34,3 @@ should be something like this:
SBY [example] summary: engine_0 (smtbmc yices) returned PASS for induction
SBY [example] summary: successful proof by k-induction.
SBY [example] DONE (PASS, rc=0)

View File

@ -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); }
%%

View File

@ -712,4 +712,3 @@ RTLIL::Const RTLIL::const_bwmux(const RTLIL::Const &arg1, const RTLIL::Const &ar
}
YOSYS_NAMESPACE_END

View File

@ -97,4 +97,3 @@ for line in fileinput.input():
print(simHelper)
# new
simHelper = SimHelper()

View File

@ -169,4 +169,3 @@ void PrettyJson::entry_json(const char *name, const Json &value)
this->name(name);
this->value(value);
}

View File

@ -401,4 +401,3 @@ struct DesignPass : public Pass {
} DesignPass;
YOSYS_NAMESPACE_END

View File

@ -282,4 +282,3 @@ struct OptLutInsPass : public Pass {
} OptLutInsPass;
PRIVATE_NAMESPACE_END

View File

@ -347,4 +347,3 @@ struct OptMemFeedbackPass : public Pass {
} OptMemFeedbackPass;
PRIVATE_NAMESPACE_END

View File

@ -106,4 +106,3 @@ struct OptMemPriorityPass : public Pass {
} OptMemPriorityPass;
PRIVATE_NAMESPACE_END

View File

@ -650,4 +650,3 @@ struct WreducePass : public Pass {
} WreducePass;
PRIVATE_NAMESPACE_END

View File

@ -117,4 +117,3 @@ struct ProcMemWrPass : public Pass {
} ProcMemWrPass;
PRIVATE_NAMESPACE_END

View File

@ -82,4 +82,3 @@ always @(posedge clk)
assign y = counter == 12;
endmodule

View File

@ -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 -tempinduct -show rst,counter,y -set-at 1 rst 1'b1 -seq 1 example004

View File

@ -1,4 +1,3 @@
#define FILTERLIB
#include "libparse.cc"

View File

@ -1286,4 +1286,3 @@ int main(int argc, char **argv)
}
#endif

View File

@ -389,4 +389,3 @@ struct TestAutotbBackend : public Backend {
} TestAutotbBackend;
PRIVATE_NAMESPACE_END

View File

@ -70,4 +70,3 @@ module \$_DFF_P_ (input D, C, output Q);
DFF _TECHMAP_REPLACE_
(.q(Q), .d(D), .ck(C));
endmodule

View File

@ -74,6 +74,3 @@ module DFF (output reg q,
q <= d;
endmodule

View File

@ -170,4 +170,3 @@ module _80_analogdevices_alu (A, B, CI, BI, X, Y, CO);
assign X = S;
endmodule

View File

@ -60,4 +60,3 @@ module \$_SDFFE_PP1P_ (input D, C, E, R, output Q);
endmodule
`endif

View File

@ -76,4 +76,3 @@ module \$lut (A, Y);
endmodule
`endif

View File

@ -62,4 +62,3 @@ assign X = AA ^ BB;
endmodule
`endif

View File

@ -5,4 +5,3 @@ endmodule
module \$__FABULOUS_OBUF (output PAD, input I);
IO_1_bidirectional_frame_config_pass _TECHMAP_REPLACE_ (.PAD(PAD), .I(I), .T(1'b0));
endmodule

View File

@ -216,4 +216,3 @@ struct GatemateFoldInvPass : public Pass {
} GatemateFoldInvPass;
PRIVATE_NAMESPACE_END

View File

@ -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
endmodule

View File

@ -64,4 +64,3 @@ module _80_gw1n_alu(A, B, CI, BI, X, Y, CO);
end endgenerate
assign X = AA ^ BB ^ {Y_WIDTH{BI}};
endmodule

View File

@ -2151,5 +2151,3 @@ module EMCU (
);
endmodule

View File

@ -103,4 +103,3 @@ if __name__ == '__main__':
with open(f'adc.v', 'r') as fin:
for l in fin:
fout.write(l);

View File

@ -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
endmodule

View File

@ -72,4 +72,3 @@ module _80_ice40_alu (A, B, CI, BI, X, Y, CO);
assign X = AA ^ BB;
endmodule

View File

@ -16,4 +16,3 @@ for dbits in 2 4 8 16 24 32; do
if grep -H ERROR ${id}_tb.txt; then false; fi
done; done
echo OK

View File

@ -90,4 +90,3 @@ module \$__M9K_ALTSYNCRAM_SINGLEPORT_FULL (CLK2, CLK3, A1ADDR, A1DATA, A1EN, B1A
.addressstall_b(1'b0));
endmodule

View File

@ -71,5 +71,3 @@ module \$lut (A, Y);
endgenerate
endmodule

View File

@ -55,5 +55,3 @@ module \$lut (A, Y);
wire _TECHMAP_FAIL_ = 1;
endgenerate
endmodule //

View File

@ -295,5 +295,3 @@ module cycloneiv_pll
output icdrclk;
endmodule // cycloneive_pll

View File

@ -71,5 +71,3 @@ module \$lut (A, Y);
endgenerate
endmodule

View File

@ -55,5 +55,3 @@ module \$lut (A, Y);
wire _TECHMAP_FAIL_ = 1;
endgenerate
endmodule //

View File

@ -70,4 +70,3 @@ module \$__MUL9X9 (input [8:0] A, input [8:0] B, output [17:0] Y);
.dataout (Y)
);
endmodule

View File

@ -2030,4 +2030,3 @@ module DCUA(CH0_HDINP, CH1_HDINP, CH0_HDINN, CH1_HDINN, D_TXBIT_CLKP_FROM_ND, D_
input D_REFCLKI;
output D_FFS_PLOL;
endmodule

View File

@ -10589,4 +10589,3 @@ module PCLKDIVSP(CLKIN, CLKOUT, LSRPDIV);
output CLKOUT;
input LSRPDIV;
endmodule

View File

@ -579,4 +579,3 @@ endmodule
module TSALL(TSALL);
input TSALL;
endmodule

View File

@ -579,4 +579,3 @@ endmodule
module TSALL(TSALL);
input TSALL;
endmodule

View File

@ -580,4 +580,3 @@ endmodule
module TSALL(TSALL);
input TSALL;
endmodule

View File

@ -102,4 +102,3 @@ module \$__SF2_ALU (A, B, CI, BI, X, Y, CO);
);
end endgenerate
endmodule

View File

@ -101,4 +101,3 @@ module \$lut (A, Y);
endgenerate
endmodule
`endif

View File

@ -123,4 +123,3 @@ RAM64x12 #(
);
endmodule

View File

@ -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_rx2 = 2'b00;
endmodule

View File

@ -1524,4 +1524,3 @@ module NX_IOM_SERDES_M(RTCK, WRCK, WTCK, RRCK, TRST, RRST, CTCK, DCK, DRL, DIG,
parameter data_size = 5;
parameter location = "";
endmodule

View File

@ -198,4 +198,3 @@ module NX_RAM_WRAP(ACK, ACKD, ACKR, BCK, BCKD, BCKR, ACOR, AERR, BCOR, BERR, ACS
);
endmodule

View File

@ -96,4 +96,3 @@ module _80_quicklogic_alu (A, B, CI, BI, X, Y, CO);
assign X = S;
endmodule

View File

@ -372,4 +372,3 @@ module latchnsre (
endspecify
endmodule

View File

@ -262,4 +262,3 @@ module dsp_t1_10x9x32_cfg_params (
assign dly_b_o = dly_b_o[8:0];
endmodule

View File

@ -130,4 +130,3 @@ module \$__SHREG_DFF_P_ (D, Q, C);
endgenerate
endmodule

View File

@ -61,4 +61,3 @@ module sram1024x18 (
end
endmodule

View File

@ -66,4 +66,3 @@ module \$__SF2_ALU (A, B, CI, BI, X, Y, CO);
);
end endgenerate
endmodule

View File

@ -199,4 +199,3 @@ end else begin
end endgenerate
endmodule

View File

@ -222,4 +222,3 @@ end
endgenerate
endmodule

Some files were not shown because too many files have changed in this diff Show More