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-3.8.0 lib/rouge/demos/verilog
rouge-3.7.0 lib/rouge/demos/verilog
rouge-3.6.0 lib/rouge/demos/verilog
rouge-3.5.1 lib/rouge/demos/verilog
rouge-3.5.0 lib/rouge/demos/verilog
rouge-3.4.1 lib/rouge/demos/verilog
rouge-3.4.0 lib/rouge/demos/verilog
rouge-alda-3.3.0 lib/rouge/demos/verilog
rouge-3.3.0 lib/rouge/demos/verilog
rouge-3.2.1 lib/rouge/demos/verilog
rouge-3.2.0 lib/rouge/demos/verilog
rouge-lines-3.2.3 lib/rouge-lines/demos/verilog
rouge_ecl-1.0.0 lib/rouge/demos/verilog
rouge_ecl-0.0.1 lib/rouge/demos/verilog
rouge-3.1.1 lib/rouge/demos/verilog
rouge-3.1.0 lib/rouge/demos/verilog
rouge-3.0.0 lib/rouge/demos/verilog
rouge-2.2.1 lib/rouge/demos/verilog
rouge-2.2.0 lib/rouge/demos/verilog
rougegal-2.1.2 lib/rouge/demos/verilog