blob: 224026a9b8fdbe1ed7f6c88615b99631eb43fb94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
; RUN: firrtl -i %s -o %s.v -X verilog ; cat %s.v | FileCheck %s
;CHECK: module top(
;CHECK: input clk
;CHECK: );
;CHECK: always @(posedge clk) begin
;CHECK: `ifndef SYNTHESIS
;CHECK: if(1'h1) begin
;CHECK: $fwrite(32'h80000002,"This has an escaped quote (\") in it");
;CHECK: end
;CHECK: `endif
;CHECK: end
;CHECK: endmodule
circuit top :
module top :
input clk : Clock
printf(clk, UInt<1>(1), "This has an escaped quote (\") in it")
|