VLSI: Difference between revisions
From Antalya
(Created page with "<div class="jumbotron jumbotron-fluid"> <ul> ==Open Source VLSI Design== These pages support the VLSI design activities at [https://www.ethz.ch ETH Zürich] relying on ''mainly'' open source EDA design tools. </ul> </div> ---- ===Code example=== <syntaxhighlight lang="verilog"> module test (input logic data_in_i, input logic clk_ci, input logic rst_ni, output logic [7:0] output_o); // body of module always_f...") |
No edit summary |
||
Line 27: | Line 27: | ||
Some inline code <code>always_ff</code> or more prominent <kbd>always_comb</kbd> | Some inline code <code>always_ff</code> or more prominent <kbd>always_comb</kbd> | ||
[[Category:VLSI]] |
Revision as of 14:54, 17 July 2024
Open Source VLSI Design
These pages support the VLSI design activities at ETH Zürich relying on mainly open source EDA design tools.
Code example
module test (input logic data_in_i,
input logic clk_ci,
input logic rst_ni,
output logic [7:0] output_o);
// body of module
always_ff (@posedge clk_ci, @negedge rst_ni) begin
if (rst_ni ==1'b0) begin //active_low reset
output_o = 8'b0;
end else begin
output_o = {8{data_in_i}};
end
end
endmodule
Some inline code always_ff
or more prominent always_comb