Jump to content


Platform Support Package Not In Visual Studio


  • You cannot reply to this topic
3 replies to this topic

#1 Jonathan

    Member

  • Members
  • PipPip
  • 25 posts

Posted 29 May 2009 - 01:20 PM

The platform I'm developing for's support package is visible in the Impulse CoDeveloper Application properties, but not under Properties>Configuration Properties>Impulse C>HDL Generation in Visual Studio. Where should I copy the package to get it to show up in Visual Studio as well?

Thanks,
Jonathan

#2 RalphBodenner

    Advanced Member

  • Admin
  • PipPipPip
  • 348 posts

Posted 29 May 2009 - 03:42 PM

Hi Jonathan,

To add a new PSP to the Visual Studio plugin, you can edit the file ImpulseLink.rules, in the %IMPULSEC_HOME%\VisualStudio\VS8 or ...\VS9 directory (depending on which version of VS you're using). Look for this section and add an EnumValue element as appropriate:

CODE
<EnumProperty
Name="Target"
DisplayName="Target"
Description="Selects the hardware target"
PropertyPageName="HDL Generation"
>
<Values>
<EnumValue
Value="0"
DisplayName="Altera Generic (Verilog)"
Switch="/a altera_generic_vlog /veri"
/>

Ralph Bodenner
Impulse Accelerated Technologies, Inc.

#3 Jonathan

    Member

  • Members
  • PipPip
  • 25 posts

Posted 01 June 2009 - 10:26 AM

After toying with it a little, I started to get the error "Error result 2 returned from C:\Windows\system32\cmd.exe". I reverted to a previous version of the ImpulseLink.rules file, but now I'm still getting this error when I try to generate hardware.

-Jonathan

QUOTE (RalphBodenner @ May 29 2009, 07:42 PM) <{POST_SNAPBACK}>
Hi Jonathan,

To add a new PSP to the Visual Studio plugin, you can edit the file ImpulseLink.rules, in the %IMPULSEC_HOME%\VisualStudio\VS8 or ...\VS9 directory (depending on which version of VS you're using). Look for this section and add an EnumValue element as appropriate:

CODE
<EnumProperty
Name="Target"
DisplayName="Target"
Description="Selects the hardware target"
PropertyPageName="HDL Generation"
>
<Values>
<EnumValue
Value="0"
DisplayName="Altera Generic (Verilog)"
Switch="/a altera_generic_vlog /veri"
/>



#4 Jonathan

    Member

  • Members
  • PipPip
  • 25 posts

Posted 01 June 2009 - 10:31 AM

FYI - I switched from hardware to debug compile, compiled, then switched back to hardware and it worked. Not sure why.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users