Shop OBEX P1 Docs P2 Docs Learn Events
Absolutely bizarre behavior of Propeller on DE0 — Parallax Forums

Absolutely bizarre behavior of Propeller on DE0

escherescher Posts: 138
edited 2017-06-03 19:04 in Propeller 1
I don't know where else to turn for this...

I have PASM code which pulses a verilog module, with each pulse resulting in an output from the module which the PASM code takes and uses for whatever.

What's happening is, the final pulse is always resulting in the module output going low.

Ok, something must be wrong with the module, right?

Get this: when I add a bunch of nop statements, even in completely unexecuted parts of the file (e.g. after my infinite loop) the final two pulses result in low output. And the more nops I add, the more pulses result in low output. It's almost like the size of the DAT section itself is causing this anomaly.

The only place in the DAT section I can put them without this anomaly occurring is immediately before the fit statement, after my register declarations and res statements.

Does anyone have a shred of a clue?

Comments

  • Heater.Heater. Posts: 21,230
    I think we have too many unknowns there:

    The Verilog Propeller.
    The DE0 Nano
    Your PASM code.
    Your Verilog additions
    The expected inputs and outputs.

    Not enough information to make a judgement on.

    I suspect you have a "#" missing in your PASM some place. Or perhaps one where it should not be.
  • escherescher Posts: 138
    edited 2017-06-03 20:18
    Ok, so it turns out I was doing something stupid in my long declarations to create my bitmasks.
Sign In or Register to comment.