VHDL code for RCOM message

Jul 02, 2008 3 Replies

Hi,



I am presently writing Testcases and Test benches for my Communication control modules which are used in Boeing spoilers.



I need the code for checking (validate and verify) a Message format of my RCOM (remote electronic unit Communication). The message format is


< StartBit>

Here each word is 32-bit in data word Header word is 5-bit



It would be a great helpful if any one gives clear steps for verify this format



Thanks, Sreeniv.



Oh my.

I'm not sure how to find the end of packet, but once I figured that out, I would shift a packet in and verify the parity to start with.

Hope you work it out. Until then, I'll be on airbus ;)

-- Mike Treseler

I wonder how fast it needs to be for a spoiler. Do you really use a FPGA for controlling the spoiler or is it just in the test equipment? FPGAs are very complex, synthesizer software and hardware. It is easy to write VHDL programs, which e.g. enter illegal statemachine states, if input signals are not aligned to clock. Unless you write big and time consuming testcases, maybe you won't detect such bugs.

I would use a microcontroller for both, then it is only some lines of C code (or maybe SparkADA, which is better for mathematical proving programs for critical systems).

Frank Buss, fb@frank-buss.de http://www.frank-buss.de, http://www.it4-systems.de

If this is not a student project then I would suggest you look into assertions (used with a formal tool and not a simulator). This is the only way to test something exhaustively. PSL/SVA are not complicated languages but I would still recommend going onto a course even if it is only 1 day.

In the meantime I will join Mike on Airbus :-)

Hans

formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required