- Posts: 184
- Thank you received: 0
Run/Step Hold/Resume Buttons
2 years 1 week ago #312542
by Benb
Replied by Benb on topic Run/Step Hold/Resume Buttons
Something important I forgot to mention in my previous message regarding converting block diagram to hal netlist.
Let'e take toggle2nist component, the way you extract the information from the symbol is as follows.
From bottom left is the name of the component toggl2nist.0 and you add the pin name in, we end up with toggl2nist.0.in same for the rest of the pins of this component ie toggl2nist.0.is-on toggl2nist.0.on toggl2nist.0.off
For the complete hal file we end up with this:
Let'e take toggle2nist component, the way you extract the information from the symbol is as follows.
From bottom left is the name of the component toggl2nist.0 and you add the pin name in, we end up with toggl2nist.0.in same for the rest of the pins of this component ie toggl2nist.0.is-on toggl2nist.0.on toggl2nist.0.off
For the complete hal file we end up with this:
Attachment not found
Please Log in to join the conversation.
1 year 5 months ago #327997
by vre
Replied by vre on topic Run/Step Hold/Resume Buttons
This config if you push start and it is in manual mode changes to auto automatically and runs the code.
How to do it not change to auto automatically?
I have changed this
to this
but continues to run the program even it is in manual mode.
Also this must uncommented or not ?
How to do it not change to auto automatically?
I have changed this
Code:
net run-sig halui.mode.auto halui.program.run <= and2.2.out
to this
Code:
net run-sig halui.program.run <= and2.2.out
but continues to run the program even it is in manual mode.
Also this must uncommented or not ?
Code:
# net pause.on and 2.3.in1 <= halui.program.is-paused
Please Log in to join the conversation.
Time to create page: 0.085 seconds
