cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
560 Views
Registered: ‎11-10-2019

Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

New to tcl scripting. I have been copying tcl commands from Vivado tcl console window (that are generated automatically when adding/configuring IP blocks via GUI) to create my own tcl script as the following:

startgroup
create_bd_cell -type ip -vlnv xilinx.com:ip:blk_mem_gen:8.4 MY_MEM00
set_property -dict [list                    \
CONFIG.Memory_Type      {Simple_Dual_Port_RAM}      \
CONFIG.Enable_32bit_Address {false}             \
CONFIG.Use_Byte_Write_Enable    {false}             \
CONFIG.Byte_Size        {9}             \
CONFIG.Write_Width_A        {256}               \
CONFIG.Write_Depth_A        {512}               \
CONFIG.Read_Width_A     {256}               \
CONFIG.Operating_Mode_A     {NO_CHANGE}         \
CONFIG.Write_Width_B        {256}               \
CONFIG.Read_Width_B     {256}               \
CONFIG.Enable_B         {Use_ENB_Pin}           \
CONFIG.Register_PortA_Output_of_Memory_Primitives {false}   \
CONFIG.Register_PortB_Output_of_Memory_Primitives {true}    \
CONFIG.Use_RSTA_Pin     {false}             \
CONFIG.Port_B_Clock     {100}               \
CONFIG.Port_B_Enable_Rate   {100}               \
CONFIG.use_bram_block       {Stand_Alone}           \
CONFIG.EN_SAFETY_CKT        {false}             \
][get_bd_cells MY_MEM00]
endgroup

However, after removing the instantiated object via delete_bd_objs [get_bd_cells MY_MEM00] and pasting and running the script again produces the following error:

INFO: [Common 17-17] undo 'set_property -dict [list ....
ERROR: [Common 17-163] Missing value for option 'objects', please type 'set_property -help' for usage info.

What am I doing wrong?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
427 Views
Registered: ‎11-04-2010

Re: Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

Hi, @naz_rb ,

"Simple_Dual_Port_RAM" can be supported on Memory type when Mode is "Stand Alone". When the Mode is "BRAM_Controller", "Simple_Dual_Port_RAM" cann't be supported on Memory type. Your setting for the mode is correct.

The real reason for the failure of your command is a space missing bwtween "][":

][get_bd_cells MY_MEM00] =>   ]    [get_bd_cells MY_MEM00]

It's the tcl syntax error.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

5 Replies
Highlighted
Xilinx Employee
Xilinx Employee
539 Views
Registered: ‎05-22-2018

Re: Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

Hi @naz_rb ,

Instead of copying the tcl commands, after creating a project in GUI just do

write_project_tcl 

or

write_bd_tcl

for complete reference please check page no.1840 and 1783 of below link:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug835-vivado-tcl-commands.pdf

Thanks,

Raj

Highlighted
Moderator
Moderator
485 Views
Registered: ‎11-04-2010

Re: Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

Hi, @naz_rb ,

For BRAM in Block design, Valid values for property "CONFIG.Memory_Type" are as below 

Single_Port_RAM,

True_Dual_Port_RAM,

Single_Port_ROM,

Dual_Port_ROM 

Value "Simple_Dual_Port_RAM" is not included, which causes the Error you met.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Adventurer
Adventurer
457 Views
Registered: ‎11-10-2019

Re: Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

Hi @hongh ,

Why are you saying that simple dual port ram is not a valid option for BRAM? Is it only supported by URAM? The GUI allows me to select stand alone simple dual port ram with a BRAM primitive and does not give any errors:

bram.png

0 Kudos
Highlighted
Moderator
Moderator
428 Views
Registered: ‎11-04-2010

Re: Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

Hi, @naz_rb ,

"Simple_Dual_Port_RAM" can be supported on Memory type when Mode is "Stand Alone". When the Mode is "BRAM_Controller", "Simple_Dual_Port_RAM" cann't be supported on Memory type. Your setting for the mode is correct.

The real reason for the failure of your command is a space missing bwtween "][":

][get_bd_cells MY_MEM00] =>   ]    [get_bd_cells MY_MEM00]

It's the tcl syntax error.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

Highlighted
Adventurer
Adventurer
403 Views
Registered: ‎11-10-2019

Re: Vivado ERROR: [Common 17-163] Missing value for option 'objects'

Jump to solution

@hongh ,

I see now! I wish it was pointed out earlier.

0 Kudos