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.26.0 lib/rouge/demos/verilog
rouge-3.25.0 lib/rouge/demos/verilog
rouge-3.24.0 lib/rouge/demos/verilog
rouge-3.23.0 lib/rouge/demos/verilog
rouge-3.22.0 lib/rouge/demos/verilog
rouge-3.21.0 lib/rouge/demos/verilog
rouge-3.20.0 lib/rouge/demos/verilog
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/demos/verilog
rouge-3.19.0 lib/rouge/demos/verilog
rouge-3.18.0 lib/rouge/demos/verilog
rouge-3.17.0 lib/rouge/demos/verilog
rouge-3.16.0 lib/rouge/demos/verilog
rouge-3.15.0 lib/rouge/demos/verilog
rouge-3.14.0 lib/rouge/demos/verilog
rouge-3.13.0 lib/rouge/demos/verilog
rouge-3.12.0 lib/rouge/demos/verilog
rouge-3.11.1 lib/rouge/demos/verilog
rouge-3.11.0 lib/rouge/demos/verilog
rouge-3.10.0 lib/rouge/demos/verilog
rouge-3.9.0 lib/rouge/demos/verilog