Skip to content
Snippets Groups Projects
Commit 7784b13d authored by SmallJoker's avatar SmallJoker Committed by SmallJoker
Browse files

FPGA: Add NOR operand

parent 0dd53031
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@ plg.rules = {}
-- per-player formspec positions
plg.open_formspecs = {}
local lcore = dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/logic.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/tool.lua")(plg)
......
......@@ -9,7 +9,8 @@ local operands = {
{ gate = "xor", short = "^", fs_name = " XOR", func = function(a, b) return a ~= b end },
{ gate = "nand", short = "?", fs_name = "NAND", func = function(a, b) return not (a and b) end },
{ gate = "buf", short = "_", fs_name = " =", func = function(a, b) return b end },
{ gate = "xnor", short = "=", fs_name = "XNOR", func = function(a, b) return a == b end }
{ gate = "xnor", short = "=", fs_name = "XNOR", func = function(a, b) return a == b end },
{ gate = "nor", short = "!", fs_name = " NOR", func = function(a, b) return not (a or b) end },
}
lg.get_operands = function()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment