VLSI

From Antalya
Revision as of 14:54, 17 July 2024 by Kgf (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

    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