What's your preferred name for an asm instruction that calculates (rs1 & ~rs2)?
-
Show this thread
-
Now the same thing for (rs1 | ~rs2)
5 replies 0 retweets 1 likeShow this thread -
This Tweet is unavailable.
-
-
Replying to @oe1cxw @TheMichaelBurge
One more alternative convention: NAND2B1: 2-Input NAND Gate with 1 Inverted and 1 Non-Inverted Inputs (https://www.xilinx.com/support/documentation/sw_manuals/xilinx10/books/docs/virtex_scm/virtex_scm.pdf#page=375 …) NOR2B1: 2-Input NOR Gate with 1 Inverted and 1 Non-Inverted Inputs (https://www.xilinx.com/support/documentation/sw_manuals/xilinx10/books/docs/virtex_scm/virtex_scm.pdf#page=400 …)
1 reply 0 retweets 1 like -
Replying to @matt_dz @TheMichaelBurge
The fact that they have NAND2B1 _and_ OR2B1, as well as NOR2B1 _and_ AND2B1, makes me question their sanity, or at least their knowledge of De Morgan's laws.
1 reply 0 retweets 0 likes -
Replying to @oe1cxw @TheMichaelBurge
Note the inverted inputs: AND2B1 inverts I0 (so it would be ~rs1 & rs2).
1 reply 0 retweets 0 likes
But it's a gate for a netlist, so it really doesn't make any difference with input uses which label. (Whereas for instructions it makes sense to consistently invert rs2 for simpler ALU.) Also, the copy&paste f*ckups in their schematic symbols..
pic.twitter.com/UqW2b6y1cM
-
-
Replying to @oe1cxw @TheMichaelBurge
This makes me think this might be a good argument for a boring, obvious name (subtlety as an anti-pattern in naming). {AND, OR}_INVERT_LATTER? (_NOT_LATTER?) Well, that, minus the verbosity! ;-)
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.