Fifa-Memo.com

how do ipass a struct to fifo

by Archibald Quigley Published 2 years ago Updated 2 years ago
image

typedef struct tfifo { tfilaNo* inicio; tfilaNo* final; } tfifo; You are using the same name for the struct and the typedef.

Full Answer

katang

I want to define a FIFO of user-defined structures. The program below presents with message:

maehne

The type you pass as a template argument to sc_core::sc_fifo<T> has to fulfill a couple of rules, which are described in detail in clause 6.23.3 of the IEEE Std 1666-2011. In summary, your type Transfer needs to provide:

katang

In my enhanced version, the compiler said the operator must take exactly one argument. I really cannot find out why.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9