Quick Verilog Code Fix-up (for Cyclone 2 FPGA)

I've designed some verilog code, though it isn't working as expected- seemingly as I don't have enough experience with the terminology of the language.

The code monitors a +12V/-12V Squarewave line. An external system drops the +12V portion of the Squarewave to 9V, then 6V, and then 3V- so that the line oscillates between 12/-12, then 9/-12, then 6/-12, then 3/-12 (all in volts). What I need to do is detect these changes of voltage which then triggers another series of events (the rest of which are all coded correctly).

The problem I'm having is because the line drops to -12V, the code is interpreting this as dropping below 3 Volts, so the code is triggering the 3/-12 series of events everytime it goes to -12V. Instead of monitoring the whole squarewave, I need to monitor the high portion of the squarewave to trigger the series of events that follow.

In summary, I need someone to change the code to monitor the positive portion of the squarewave, rather than the whole squarewave.

Skills: Verilog / VHDL, Electronics, FPGA, Microcontroller, Electrical Engineering

See more: hex ascii conversion verilog code, verilog code parking lot project, verilog code ascii codes, quartus, altera de2-115 projects, fpga games verilog, de2-115 manual, altera de2 board projects, fpga vga verilog, snake game verilog github, webpage code fix, face recognition using fpga verilog code, fpga lcd verilog code, verilog code fpga lcd display, fpga cpld verilog code, lcd verilog code fpga, image processing using fpga verilog code, verilog code for fpga, fpga projects using verilog code, 2 bit counter verilog code

About the Employer:
( 3 reviews ) Kingswood, Australia

Project ID: #21368115

Awarded to:


Hi, i thought about your problem and i have a solution for it, inbox me for more elaboration.

$20 AUD in 7 days
(0 Reviews)

6 freelancers are bidding on average $19 for this job


Dear sir I have more than 10 years experience in digital design using verilog please check my profile also please message me so that we can discuss Best regards

$30 AUD in 1 day
(417 Reviews)

For more details inbox me so that we can discuss in detail. For more details inbox me so that we can discuss in detail. For more details inbox me so that we can discuss in detail.

$20 AUD in 7 days
(48 Reviews)

We are a team of Electrical and Electronics engineers and we are Excellent in the following areas: • Embedded C Programming. • VHDL/Verilog • Microcontroller like Arduino, Raspberry Pi, FPGA, AVR, PIC and STM32. • ID More

$20 AUD in 7 days
(27 Reviews)

I have worked as developer embedded system with microcontroller such as DSP, FPGA/CPLD, PIC, PLC and so on. In there years, I have experiences about electronics engineering, power converter, communication such as SCI, More

$15 AUD in 7 days
(0 Reviews)

Hello, I have vast experience in FPGA design and the Verilog language. I can solve your problem quickly and efficiently.

$10 AUD in 3 days
(0 Reviews)