Re: [USRP-users] systemverilog files in rfnoc block

2017-10-25 Thread Dario Pennisi via USRP-users
Hi,
I pushed the fix on my fork:

https://github.com/<https://github.com/ipTronix/fpga/commit/b144fcb40eaa0e54dfa3c66bc4fc7cb42c54362c>ipTronix<https://github.com/ipTronix/fpga/commit/b144fcb40eaa0e54dfa3c66bc4fc7cb42c54362c>/<https://github.com/ipTronix/fpga/commit/b144fcb40eaa0e54dfa3c66bc4fc7cb42c54362c>fpga<https://github.com/ipTronix/fpga/commit/b144fcb40eaa0e54dfa3c66bc4fc7cb42c54362c>/commit/b144fcb40eaa0e54dfa3c66bc4fc7cb42c54362c<https://github.com/ipTronix/fpga/commit/b144fcb40eaa0e54dfa3c66bc4fc7cb42c54362c>

Dario Pennisi








On Wed, Oct 25, 2017 at 8:06 PM +0200, "Jade Anderson" 
<jade.ander...@averna.com<mailto:jade.ander...@averna.com>> wrote:


Hi,
Below is a question about sytemverilog support from August, that seems 
unresolved.
I found this workaround, but why does the scripted flow not support 
systemverilog design files?
Are there plans to make this change to support designs in sytemverilog?
  If not, then can you please point me to an example of how to include a 
synthesized netlist into a build?  I can synthesize my systemverilog module in 
Vivado for the  X310 with no problems.
All I need to do is then import it into the x310 build.

Thanks
Jade Anderson


Message: 5
Date: Fri, 25 Aug 2017 19:55:11 +
From: Dario Pennisi
To: "usrp-users@lists.ettus.com"
Subject: [USRP-users] systemverilog files in rfnoc block
Message-ID: <150369090.91...@iptronix.com>
Content-Type: text/plain; charset="iso-8859-1"

hi,

i am trying to include a couple of systemverilog files in the list of sources 
for a custom rfnoc block.

if i do that i can see in the log that all files with .sv extension are ignored 
and of course their modules are not found. if i launch compilation in gui mode 
and then add files back it works...

is there any way of avoiding this manual step?

thanks,


Dario Pennisi
-- next part --
An HTML attachment was scrubbed...
URL:

--

Message: 6
Date: Fri, 25 Aug 2017 20:27:18 +
From: Dario Pennisi
To: "usrp-users@lists.ettus.com"
Subject: Re: [USRP-users] systemverilog files in rfnoc block
Message-ID: <1503692838342.55...@iptronix.com>
Content-Type: text/plain; charset="iso-8859-1"

i think i found the issue...

tcl script file usrp3/tools/scripts/viv_utils.tcl actually contains 
instructions to add files to project based on their extensions and .sv is not 
listed so files are skipped.

adding a case for .sv works but it also includes axi_crossbar_intf.sv which 
seems to be a simulation file and won't compile so i had to exclude that file...

is there any reason why sv files are not included or is that just a lazy way to 
exclude simulation sources?

unfortunately i need to use some systemverilog constructs and with .v extension 
those seem not to be accepted...

thanks,


Dario Pennisi

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] systemverilog files in rfnoc block

2017-08-25 Thread Dario Pennisi via USRP-users
i think i found the issue...

tcl script file usrp3/tools/scripts/viv_utils.tcl actually contains 
instructions to add files to project based on their extensions and .sv is not 
listed so files are skipped.

adding a case for .sv works but it also includes axi_crossbar_intf.sv which 
seems to be a simulation file and won't compile so i had to exclude that file...

is there any reason why sv files are not included or is that just a lazy way to 
exclude simulation sources?

unfortunately i need to use some systemverilog constructs and with .v extension 
those seem not to be accepted...

thanks,


Dario Pennisi

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] systemverilog files in rfnoc block

2017-08-25 Thread Dario Pennisi via USRP-users
hi,

i am trying to include a couple of systemverilog files in the list of sources 
for a custom rfnoc block.

if i do that i can see in the log that all files with .sv extension are ignored 
and of course their modules are not found. if i launch compilation in gui mode 
and then add files back it works...

is there any way of avoiding this manual step?

thanks,


Dario Pennisi
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com