Questions tagged [nor]

The NOR gate is a digital logic gate that implements logical NOR - it behaves according to the truth table to the right. NOR is the result of the negation of the OR operator.

The NOR gate is a digital logic gate that implements logical NOR - it behaves according to the truth table to the right. A HIGH output (1) results if both the inputs to the gate are LOW (0); if one or both input is HIGH (1), a LOW output (0) results. NOR is the result of the negation of the OR operator. It can also be seen as an AND gate with all the inputs inverted. NOR is a functionally complete operation—combinations of NOR gates can be combined to generate any other logical function. By contrast, the OR operator is monotonic as it can only change LOW to HIGH but not vice versa.

In most, but not all, circuit implementations, the negation comes for free—including CMOS and TTL. In such logic families, OR is the more complicated operation; it may use a NOR followed by a NOT. A significant exception is some forms of the domino logic family.

In boolean logic, logical nor or joint denial is a truth-functional operator which produces a result that is the negation of logical or. That is, a sentence of the form (p NOR q) is true precisely when neither p nor q is true—i.e. when both of p and q are false. In grammar, nor is a coordinating conjunction.

25 questions
6
votes
1 answer

Confused about the XIP (eXecute In Place) function of QSPI FLASH

There are lots of NOR QSPI FLASH chips that support XIP (eXecute In Place). In this mode the embedded cpu (or MCU) can directly execute the codes stored in the flash. But as we know, the qspi flash can only output 4-bit data per cycle, while many…
HYF
  • 163
  • 1
  • 5
4
votes
5 answers

Besides AND/OR/NOT, what's the point of the other logical operators in programming?

I've been programming nearly all of my life (around 20+ years), and I don't think I can remember a single time when I was looking at a if-statement and think "Hmmm, this would be a good time to use XOR." The entire logical programming universe…
SineSwiper
  • 2,046
  • 2
  • 18
  • 22
4
votes
1 answer

Implementation of Nor Flip Flop Logic Gates in Go

I'm trying to implement the following nor flip flop circuit logic in Go and having some difficulty with variable declarations: My goal is to simulate the logic gates and circuitry as it would physically work. I've implemented a function for the nor…
RogueKnight
  • 113
  • 7
4
votes
2 answers

Prolog implement and/2, or/2, nand/2, nor/2, xor/2

I want to implement the following predicates in prolog and use them for truth-tables: and/2, or/2, nand/2, nor/2, xor/2 Maybe someone can show me how to implement and/2 for example so I can do the others myself and post them here.
PROLOGik
  • 68
  • 1
  • 1
  • 8
2
votes
1 answer

logic gates to control 2 swiches and 2 lights

I have 2 switches that correspond to 2 lights and I would like to control them with logic gates. My problem starts when a switch is ON and the second one goes into ON as well. In this condition, I would like the light that was ON to go OFF, and the…
1
vote
1 answer

how to draw a circuit diagram with only using nor and not gates?

I am approaching with double invert, with ~(~Y) but cannot find the way to draw a circuit diagram of Y=A(B+CD). Any advice would really be appreciated !
jwkoo
  • 2,393
  • 5
  • 22
  • 35
1
vote
0 answers

can Yaffs2 be used on NOR flash ?

I am looking for a suitable file system for nor flash. Is 'yaffs2' suitable for nor flash ?. Is there open source code for 'yaffs2' relevant for nor flash ?
Menon
  • 21
  • 1
1
vote
1 answer

Digital Logic - Implementing Boolean expression using minimum number of 2-input NOR gates

Implement this Boolean expression using a minimum number of 2-input NOR gates. Then, illustrate with a clearly labelled logic circuit diagram. F(w,x,y) = (x+y)(w+y)(x'+y') = [(x+y)' + (w+y)' + (x'+y')']' //double negation = [y'(x'+…
1
vote
1 answer

Implementing Boolean function, F using no more than two NOR gates

[Steps provided by solution manual] Implement Boolean function, F using no more than two NOR gates. F = AC' + A'D' + B'CD' F' = D + ABC F = [D + ABC]' = [D + (A' + B' + C']')]' Hi. I had this as a homework problem and I don't understand how the…
Minjae
  • 31
  • 1
  • 2
  • 8
1
vote
1 answer

Why do my MIPS crosscompiler works like this for NOT operation?

I setup my crosscompiler for making MIPS instructions. And it compiles C code well. but I found a weird thing for NOT operations. if i make code like int a; func(!a); and i studied MIPS instructions with text book that says "MIPS converts…
user304726
0
votes
1 answer

Implementing a C programm for logic gates circuit solution

Logic Gates circuit solution #include #include #include #define SIZE 10 int myand(int a, int b); int myor(int a, int b); int mynand(int a, int b); int mynor(int a, int b); int myxor(int a, int b); typedef int…
BraVeHurt
  • 11
  • 2
0
votes
1 answer

How can w’xz + w’yz + x’yz’ + wxy’z be implemented with 4 NOR gates (+ inverters), given d = wyz

How can you implement the following function with only four NOR gates and inverters: F = w’xz + w’yz + x’yz’ + wxy’z d = wyz
0
votes
1 answer

Construction of an AND Gate from NOR Gates

One of the alternate to getting the same output as an AND Gate, is to put together NOR gates. The operator for NOT gates is (A+B)', However there is a problem, I can't get the same output an AND gate would. This image is from…
0
votes
1 answer

Need an example of how to programmatically use/test the vxWorks 7 vxbNorFlash driver

I am developing a vxWorks 7.0 BSP and having trouble understanding how to use the norFlash driver provided by vxWorks 7/WindRiver. How does one, say from usrAppInit, call the norFlash driver to read/erase/write/protect flash addresses/sectors? in…
peinal
  • 121
  • 4
0
votes
2 answers

While Loop Using Nor Logic

I'm trying to create a console menu in python where the options in the menu are listed 1 or 2. The selection of the number will open the next menu. I decided to try and use a while loop to display the menu until the right number is selected, but I'm…
Amzo
  • 3
  • 1
1
2