Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
diabolique0007
Posts: 10
Registered: ‎04-29-2012
0

ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

I get the following error when i synthesize my code:

ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

 

INTERNAL_ERROR:Xst:cmain.c:3483:1.56.16.1 -  Process will terminate. For technical support on this issue, please open a WebCase with this project attached at http://www.xilinx.com/support.

 

Line 26 is a signal declaration:

signal sys_memory1,sys_memory2:array_type3;

 

And array_type3 is declared as:

type array_type3 is array(integer range 0 to 2147483647) of std_logic_vector(7 downto 0);

 

I don't understand why the error says type must be constrained when it is already constrained?

 

Thanks

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

The error message may be misleading...

You appear to be inferring 2 * 2G * 8 bits = 32Gbits of memory.
What device are you targetting?
How much memory does it have?

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Visitor
diabolique0007
Posts: 10
Registered: ‎04-29-2012
0

Re: ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

I'm trying to implement a system memory of 4 GB.

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010

Re: ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

"I'm trying to implement a system memory of 4 GB."

In an FPGA?

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Visitor
diabolique0007
Posts: 10
Registered: ‎04-29-2012
0

Re: ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

I'm not sure about that as I won't be doing that but still I have to be sure that my design is synthesizable.

Xilinx Employee
mcgett
Posts: 3,513
Registered: ‎01-03-2008
0

Re: ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

[ Edited ]

> I'm not sure about that as I won't be doing that but still I have to be sure that my design is synthesizable.

 

There is no way to be able to synthesize/implement a 4 GB memory inside of any FPGA.  You need new code.

------------------------------------------------------------------
Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
Expert Contributor
eteam00
Posts: 7,505
Registered: ‎07-21-2009
0

Re: ERROR:Xst:785 line 26: Type must be constrained for this object : 'sys_memory1'.

There is no way to be able to synthesize/implement a 4 GB memory inside of any FPGA.  You need new code.

 

Or wait about 7 years for Virtex-10, perhaps?

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.