3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-26 02:30:37 +00:00

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

@ -6,4 +6,4 @@ _Explain how this is achieved._
_Make sure your change comes with tests. If not possible, share how a reviewer might evaluate it._
_These template prompts can be deleted when you're done responding to them._
_These template prompts can be deleted when you're done responding to them._

View file

@ -98,4 +98,4 @@ jobs:
echo "Some jobs failed or were cancelled"
exit 1
fi
- run: echo "All good"
- run: echo "All good"

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

@ -15,4 +15,4 @@ file of the simulation toplevel).
The interfaces declared in `cxxrtl*.h` (without `capi`) are unstable and may change without notice.
For clarity, all of the files in this directory and its subdirectories have unique names regardless
of the directory where they are placed.
of the directory where they are placed.

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

@ -43,4 +43,4 @@ values.
.. autocellgroup:: logic
:members:
:source:
:linenos:
:linenos:

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

@ -88,4 +88,4 @@ check:
stat
check -noinit
blackbox =A:whitebox

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

@ -111,4 +111,4 @@ For example, an AND gate will propagate a given tag on one input, if the other
input is either 1 or carries a tag of the same group. So if one input is ``0,
"key:a"`` and the other is ``0, "key:b"`` the result would be ``0, "key:a",
"key:b"``, rather than simply ``0``. Note that if we add an unrelated
``"overflow"`` tag to the first input, it would still not be propagated.
``"overflow"`` tag to the first input, it would still not be propagated.

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

@ -228,4 +228,4 @@ Unwrap in ``test2``:
:end-before: end part e
.. figure:: /_images/code_examples/macc/macc_xilinx_test2e.*
:class: width-helper invert-helper
:class: width-helper invert-helper

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

@ -7,4 +7,4 @@ IO_LOC "leds[3]" 82;
IO_LOC "leds[4]" 83;
IO_LOC "leds[5]" 84;
IO_LOC "leds[6]" 85;
IO_LOC "leds[7]" 86;
IO_LOC "leds[7]" 86;

View file

@ -1096,4 +1096,4 @@ set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW"
set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

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

@ -2,4 +2,4 @@
iverilog -o presynth lfsr_updown_tb.v lfsr_updown.v &&\
vvp -N presynth
vvp -N presynth

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

@ -114,4 +114,4 @@ FinalAdder pick_final_adder(int width, int final_depth, FinalMode mode);
YOSYS_NAMESPACE_END
#endif // COMPRESSOR_TREE_H
#endif // COMPRESSOR_TREE_H

View file

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

View file

@ -1915,4 +1915,4 @@ RTLIL::Const::iterator MemContents::_range_write(RTLIL::Const::iterator it, RTLI
auto it_next = std::next(it, _data_width);
std::fill(to_end, it_next, State::S0);
return it_next;
}
}

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

@ -487,4 +487,4 @@ struct ArithTreePass : public Pass {
}
} ArithTreePass;
PRIVATE_NAMESPACE_END
PRIVATE_NAMESPACE_END

View file

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

View file

@ -142,4 +142,4 @@ inline std::string convert_liberty_files_to_merged_scl(const std::vector<std::st
YOSYS_NAMESPACE_END
#endif // LIBERTY_CACHE_H
#endif // LIBERTY_CACHE_H

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

@ -15,4 +15,4 @@ endbram
match MISTRAL_MLAB
min efficiency 5
make_outreg
endmatch
endmatch

View file

@ -18,4 +18,4 @@ module MISTRAL_CLKBUF (
(* clkbuf_driver *) output Q
);
assign Q = A;
endmodule
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

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