Sha256: f744829c5a5cbe1dde820903cb47c67b95d04964d4c4611086b534215e8f56f6

Contents?: true

Size: 420 Bytes

Versions: 75

Compression:

Stored size: 420 Bytes

Contents

/**
 * Verilog Lexer
 */
module Foo(
  input logic Clk_CI,
  input logic Rst_RBI,
  input logic A,
  input logic B,
  output logic C
);
  logic C_DN, C_DP;

  assign C = C_DP;

  always_comb begin : proc_next_state
    C_DN = A + B;
  end

  // Clocked process
  always_ff @(posedge Clk_CI, negedge Rst_RBI) begin
    if(~Rst_RBI) begin
      C_DP <= 1'b0;
    end else begin
      C_DP <= C_DN;
    end
  end
endmodule

Version data entries

75 entries across 73 versions & 8 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/lib/rouge/demos/verilog
tdiary-5.0.5 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/verilog
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/verilog
rouge-2.1.1 lib/rouge/demos/verilog
rouge-2.1.0 lib/rouge/demos/verilog
tdiary-5.0.4 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/verilog
rouge-2.0.7 lib/rouge/demos/verilog
rouge-2.0.6 lib/rouge/demos/verilog
rouge-2.0.5 lib/rouge/demos/verilog
rouge-2.0.3 lib/rouge/demos/verilog
rouge-2.0.2 lib/rouge/demos/verilog
rouge-2.0.1 lib/rouge/demos/verilog
rouge-2.0.0 lib/rouge/demos/verilog
rouge-1.11.1 lib/rouge/demos/verilog
rouge-1.11.0 lib/rouge/demos/verilog