VLSI: Difference between revisions

From Antalya
Jump to: navigation, search
No edit summary
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>
----
===Some row examples===
<div class="container-fluid">
  <div class="row">
    <div class="col">
      <div class="card">
        <h4 class="card-header">
          Example
      </h4>
      <div class="card-body">
Example text
      </div>
    </div>
    </div>     
    <div class="col">
<div class="card text-white bg-danger mb-3">
  <h5 class="card-header">Header</h5>
  <div class="card-body">
Some quick example text to build on the card title and make up the bulk of the card's content.
  </div>
</div>
    </div>
  </div>
  <div class="row">
    <div class="col-8">
      Uneven distribution
    </div>
    <div class="col-4">
      of columns
    </div>
  </div>
</div>
[[Category:VLSI]]
[[Category:VLSI]]

Revision as of 15:09, 17 July 2024


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


Some row examples

Example

Example text

Header

Some quick example text to build on the card title and make up the bulk of the card's content.


     Uneven distribution 
     of columns