📄 async_stim.stc
字号:
# gpsim# Startup command file for stim_test.hex# Create the processor that's to be simulatedprocessor p16c84 fred# Load the .hex fileload h stim_test.hex# Create a stimulus node:node test_node# Create an asynchronous stimulus that's 1000 cycles long# and attach it to portb bit 0. stimulus asy 100 0 200 1 300 0 400 1 period 600 name asy1 end# Attach the stimulus to the IO portattach test_node asy1 portb0# Set a cycle break point on the One hundred thousand'th# execution cyclebreak c 100000# Set a register write break point when 10 (dec) is # written to register 0x20.break wv 0x20 10echo running until the wv break point is hit#runecho running until the cycle break point is hit#run
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -