FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
5853 Discussions

cyclone IV program device error issue

ainclanmx
Novice
821 Views

Helo there

I have EP4CE6E22C8N Cyclone IV FPGA, Im programing with Quartus prime lite ver 20.0.1

In Quartus all work ok: program with basic OR gate, diagram, simulation (see image 1) & programing board.

But my FPGA dont do OR gate My board do AND gate.

To "fix" i set NOT gate in input1 & input2 and set NOT gate in Output (see image 2)

You know how to fix my board to avoid NOT gates???

 

Thanks

0 Kudos
1 Solution
sstrell
Honored Contributor III
800 Views

LEDs and pushbuttons are usually active low, so when you push both buttons, you're putting 00 into the OR gate, getting a 0 out, which lights the LED.

View solution in original post

4 Replies
sstrell
Honored Contributor III
809 Views

Your simulation for the OR gate is correct.  Remember the truth table for an OR gate:

00  |  0

01  |  1

10  |  1

11  |  1

Maybe you're thinking of XOR:

00  |  0

01  |  1

10  |  1

11  | 0

0 Kudos
ainclanmx
Novice
803 Views

Hi, Thanks for your reply

And ofcourse simulation is ok, But FPGA DONT do OR gate, FPGA do AND gate.

See the pictures please.

You know how FPGA do OR gate if i programing Or gate??

 

Chers

0 Kudos
sstrell
Honored Contributor III
801 Views

LEDs and pushbuttons are usually active low, so when you push both buttons, you're putting 00 into the OR gate, getting a 0 out, which lights the LED.

ainclanmx
Novice
790 Views

Thanks, I will try other gates to test.

0 Kudos
Reply