Truth Table to ModelSim
Convert this truth table to simulator instructions!
Start file
A B C Z 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 0
End file
force a 0 @ 0 force b 0 @ 0 force c 0 @ 0 force a 0 @ 10 force b 0 @ 10 force c 1 @ 10 force a 0 @ 20 force b 1 @ 20 force c 0 @ 20 force a 0 @ 30 force b 1 @ 30 force c 1 @ 30 force a 1 @ 40 force b 0 @ 40 force c 0 @ 40 force a 1 @ 50 force b 0 @ 50 force c 1 @ 50 force a 1 @ 60 force b 1 @ 60 force c 0 @ 60 force a 1 @ 70 force b 1 @ 70 force c 1 @ 70 run 80
View Diff
1,9c1,33 < A B C Z < 0 0 0 0 < 0 0 1 0 < 0 1 0 1 < 0 1 1 1 < 1 0 0 0 < 1 0 1 1 < 1 1 0 0 < 1 1 1 0 --- > force a 0 @ 0 > force b 0 @ 0 > force c 0 @ 0 > > force a 0 @ 10 > force b 0 @ 10 > force c 1 @ 10 > > force a 0 @ 20 > force b 1 @ 20 > force c 0 @ 20 > > force a 0 @ 30 > force b 1 @ 30 > force c 1 @ 30 > > force a 1 @ 40 > force b 0 @ 40 > force c 0 @ 40 > > force a 1 @ 50 > force b 0 @ 50 > force c 1 @ 50 > > force a 1 @ 60 > force b 1 @ 60 > force c 0 @ 60 > > force a 1 @ 70 > force b 1 @ 70 > force c 1 @ 70 > > run 80
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 16 remaining solutions by signing in and submitting your own entry
#17 dennis / @nagolove - Score: 222 - 04/25/24 @ 13:06
jqjiforce a <fd-6b>llcw b <fd-6b>llcw c <fd-6b>llDA @ 0<fd-6b>bbhhhi @ 0<fd-6b>bbbi@ 0 <BS><CR>force <fd-6b>wwwwwi<BS><CR>force <fd-6b>j0q@j@j@j@j@j@j@j1GddqjjjjO<fd-6b>jq@j@j@j@J@j@j1G$5G$i1<fd-6b>j.j.9G$i2j<BS><fd-6b>ji2<fd-6b>j.13J<fd-6b>u13G$i3<fd-6b>j.j.jji4<fd-6b>j.j.jji5<fd-6b>j.j.jji6<fd-6b>j.j.<fd-6b>jji7<fd-6b>j.j.o<CR>rin <BS><BS><BS>un 80<fd-6b>:wq<CR>
0 comments