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
rouge-4.5.1 lib/rouge/demos/verilog
rouge-4.5.0 lib/rouge/demos/verilog
rouge-4.4.0 lib/rouge/demos/verilog
rouge-4.3.0 lib/rouge/demos/verilog
rouge-4.2.1 lib/rouge/demos/verilog
rouge-4.2.0 lib/rouge/demos/verilog
rouge-4.1.3 lib/rouge/demos/verilog
rouge-4.1.2 lib/rouge/demos/verilog
rouge-4.1.1 lib/rouge/demos/verilog
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/verilog
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/verilog
rouge-4.1.0 lib/rouge/demos/verilog
rouge-4.0.1 lib/rouge/demos/verilog
rouge-4.0.0 lib/rouge/demos/verilog
rouge-3.30.0 lib/rouge/demos/verilog
rouge-3.29.0 lib/rouge/demos/verilog
rouge-3.28.0 lib/rouge/demos/verilog
rouge-3.27.0 lib/rouge/demos/verilog
rouge-3.26.1 lib/rouge/demos/verilog
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/verilog