aboutsummaryrefslogtreecommitdiff
path: root/test/features/Queue.fir
blob: 3ce58e3111cf29dcc63245523e701f8c571446eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; CHECK: Done!
circuit Queue :
  module Queue :
    input in : UInt<10>
    output out : UInt<10>
    input clk : Clock
    input reset : UInt<1>
  
    reg r : UInt<10>,clk with :
       reset => (reset,in)
    r <= in
    out <= r