puts "from ecomp add32.e pipe1.e -o pipe1.net" puts "from esim < pipe1.run > pipe1.out" esim load pipe1.net # load up the instruction memory with 32 bit works esim write -hex inst_fetch.mr 0x0 32 11111111 esim write -hex inst_fetch.mr 0x20 32 22222222 esim write -hex inst_fetch.mr 0x40 32 33333333 esim write -hex inst_fetch.mr 0x60 32 44444444 esim write -hex inst_fetch.mr 0x80 32 55555555 esim write -hex inst_fetch.mr 0xA0 32 66666666 # stop just before the first clock in order to print esim run 199 for {set i 13} {$i} {incr i -1} { puts "ir_s1= [esim show -hex ir_s1] at clock [esim show cntr]" puts "ir_s2= [esim show -hex ir_s2]" puts "ir_s3= [esim show -hex ir_s3]" puts "ir_s4= [esim show -hex ir_s4] \n" # stop just before the second clock in order to print esim run 200 }