Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Error while compilng systemc part of UVMC-2.2

Status
Not open for further replies.

er.akhilkumar

Full Member level 2
Full Member level 2
Joined
Feb 1, 2011
Messages
123
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,298
Location
Noida
Visit site
Activity points
2,443
Hello All,

I have downloaded uvmc-2.2 from Verification Academy website. Now I am trying to compile its src/connect/sc part using sccom on free version. But, unfortunately it is showing errors in uvmc_connect.h file. I have used the command specified in uvmc-2.2/lib/Makefile in Windows 7. Please help me how can I remove these errors.

Thanx

Here are the errors reported by sccom:

uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_put_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_blocking_put_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_put_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_blocking_put_if<RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:510: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_put_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_nonblocking_put_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_put_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_nonblocking_put_if<RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:511: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_put_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_put_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_put_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_put_if<RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:512: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_get_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_blocking_get_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_get_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_blocking_get_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:513: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_get_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_nonblocking_get_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_get_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_nonblocking_get_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:514: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_get_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_get_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_get_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_get_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:515: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_peek_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_blocking_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_peek_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_blocking_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:516: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_peek_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_nonblocking_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_peek_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_nonblocking_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:517: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_peek_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_peek_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:518: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_get_peek_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_blocking_get_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_get_peek_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_blocking_get_peek_if<RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:519: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_get_peek_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_nonblocking_get_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_get_peek_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_nonblocking_get_peek_if<RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:520: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_get_peek_port<T, uvmc_converter<T> >& uvmc::uvmc_connect(tlm::tlm_get_peek_if<T>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_get_peek_port<T, CVRT>& uvmc::uvmc_connect(tlm::tlm_get_peek_if<RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:521: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_transport_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_transport_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_transport_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_transport_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:524: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_master_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_blocking_master_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_master_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_blocking_master_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:525: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_master_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_nonblocking_master_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_master_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_nonblocking_master_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:526: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_master_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_master_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_master_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_master_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:527: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_slave_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_blocking_slave_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_blocking_slave_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_blocking_slave_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:528: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_slave_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_nonblocking_slave_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_nonblocking_slave_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_nonblocking_slave_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:529: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_slave_port<REQ, RSP, uvmc_converter<T>, uvmc_converter<T2> >& uvmc::uvmc_connect(tlm::tlm_slave_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: expected primary-expression before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: At global scope:
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: expected ',' or '...' before 'struct'
uvmc-2.2\src\connect\sc\/uvmc_connect.h: In function 'uvmc::uvmc_slave_port<REQ, RSP, CVRT_REQ, CVRT_RSP>& uvmc::uvmc_connect(tlm::tlm_slave_if<REQ, RSP>&)':
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: 'lookup' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: 'packer' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: 'stack_size' was not declared in this scope
uvmc-2.2\src\connect\sc\/uvmc_connect.h:530: error: expected primary-expression before 'struct'
 

Have you read the User Guide about the supported g++ compilers supported by your simulator? You cannot use the free sccom to compile SystemC code that will be linked into a SystemVerilog simulation.
 

Have you read the User Guide about the supported g++ compilers supported by your simulator? You cannot use the free sccom to compile SystemC code that will be linked into a SystemVerilog simulation.
The supported version for gcc for my simulator is Minimalist GNU for Windows (MinGW) gcc 4.2.1. I have it installed on my hard-disk.

I have tried compiling the sv part of the uvmc-2.2. It compiled successfully.
Then I tried compiling the sc part using sccom and it failed with the above mentioned errors. Command used was,
sccom -32 -cpppath $gcc_4.2.1_install_dir\bin\g++.exe -work uvmc-2.2 -Wall -g -I $modelsim_install_dir\include\ $modelsim_install_dir\verilog_src\uvmc-2.2\src\connect\sc\ $modelsim_install_dir\verilog_src\uvmc-2.2\src\connect\sc\uvmc.cpp

Then i tried to compile using the command
$gcc_4.2.1_install_dir\bin\g++.exe -I $modelsim_install_dir\include\systemc -I $modelsim_install_dir\include\ $modelsim_install_dir\verilog_src\uvmc-2.2\src\connect\sc\uvmc.cpp
same errors were found.

Replacing the recommended gcc with the latest verision supplied by MinGW - gcc 4.6.2, I dont get any errors but the output file (obj file) is still not created, even after adding the option -o new.obj

What can be the possible way to use the uvmc library in my uvm based TB.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top