2 module example001(a, y);
13 // ------------------------------------
15 module example002(a, y);
52 // ------------------------------------
54 module example003(a_shl, a_shr, a_sshl, a_sshr, sh, y_shl, y_shr, y_sshl, y_sshr);
56 input [7:0] a_shl, a_shr;
57 input signed [7:0] a_sshl, a_sshr;
60 output [7:0] y_shl = a_shl << sh, y_shr = a_shr >> sh;
61 output signed [7:0] y_sshl = a_sshl <<< sh, y_sshr = a_sshr >>> sh;
65 // ------------------------------------
67 module example004(clk, rst, y);
82 assign y = counter == 12;