cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eskull@0
Contributor
Contributor
560 Views
Registered: ‎11-10-2018

Simulation compile error

Jump to solution

I'm trying to launch a simulaiton from Vivado 2019.2.1 with the simulator set to RivieraPro. During the compile operation, the Vivado Console reports the follwoing error:

# ALOG: Error: VCP2587 C:/Projects/Test1/common_rtl/synchronizers/cdc_lf_sync.sv : (64, 22): Cannot write to the "cdc_lf_sync[0]" variable which is driven by another always_ff procedural block. Use "-err VCP2587 W1" to suppress this error.

How do I apply this recommended fix ? What does it mean to "Use..." ?

Supressing this error I think is desired as the two always blocks it is complaining about are working on different portions of the register, where one always block is dedicated to writing bit 0, the other writes the other bits (but not bit 0). 

Thank you. 

 

0 Kudos
1 Solution

Accepted Solutions
miti
Xilinx Employee
Xilinx Employee
490 Views
Registered: ‎06-10-2020

Please add the given option in compilation command along with "vlog".

Example: vlog -err VCP2587 W1 <file_name> <other_options>

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

View solution in original post

0 Kudos
2 Replies
miti
Xilinx Employee
Xilinx Employee
491 Views
Registered: ‎06-10-2020

Please add the given option in compilation command along with "vlog".

Example: vlog -err VCP2587 W1 <file_name> <other_options>

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

View solution in original post

0 Kudos
eskull@0
Contributor
Contributor
431 Views
Registered: ‎11-10-2018

@miti 

HI, thank you for the quick reply. I am launching simulation in GUI mode. So I found under Simulation Settings (with the simulator set to run RivieraPro),  there is a vlog.more option into which I added your string, -err VCP2587 W1 C:path_to_file. This worked.

Thank you for the helpful information.

0 Kudos