data/full_repos/permissive/132220215/bin_add_sub.v
[Errno 2] No such file or directory: 'preprocess.output'
data/verilator_xmls/89d48f85-095b-40d0-ae80-59faf3d3d7f0.xml
module shift_operator();
initial 
 begin
  $display(" BITWISE LEFT SHIFT OPERATORS ");	 
  $display("4'b1010 << 1: %b %d",(4'b1010<<1),(4'b1010<<1));
  $display("4'hA << 1: %b %d",(4'hA << 1),(4'hA << 1));
  $display("8'h7A : %d 8'h7A << 1 : %d",(8'h7A),(8'h7A<<1));

  $display(" BITWISE RIGHT SHIFT OPERATORS ");



  $display(" ARITHMETIC RIGHT SHIFT OPERATORS ");
  $display("4'hA >>> 1: %d 4'h5 >>> 1: %d",(4'hA >>> 1),(4'h5 >>> 1));
 end
endmodule
module shift_operator();

initial 
 begin
  $display(" BITWISE LEFT SHIFT OPERATORS ");	 
  $display("4'b1010 << 1: %b %d",(4'b1010<<1),(4'b1010<<1));
  $display("4'hA << 1: %b %d",(4'hA << 1),(4'hA << 1));
  $display("8'h7A : %d 8'h7A << 1 : %d",(8'h7A),(8'h7A<<1));

  $display(" BITWISE RIGHT SHIFT OPERATORS ");



  $display(" ARITHMETIC RIGHT SHIFT OPERATORS ");
  $display("4'hA >>> 1: %d 4'h5 >>> 1: %d",(4'hA >>> 1),(4'h5 >>> 1));
 end
endmodule