Error: Node "modD" of type Logic cell has no legal

Status
Not open for further replies.

jason_tian

Junior Member level 2
Joined
Jan 8, 2007
Messages
20
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,389
of type logic cell has no legal location

Hi,pls have a look at my code below:

.........
reg modD,txFlag;
inout mod;
..........
.........
assign mod=txFlag?modD:1'bz;//tri_state.
.......

----------------------------
I code as above in Q2,but the fitter says:'Error: Node "modD" of type Logic cell has no legal location', why? the device is EPM240.
thanks!
 

Re: of type register cell has no legal location

Thanks! Got the same error, was an issue with a pin in my pin planner too.
 

Re: of type logic cell has no legal location

I had the same problem as u and the solution is I think to open up the pin assignment editor and clear any pins assigned with the same port name as the one causing the conflict now (for an entity u previously compiled)
 

In older versions of ISE what sometimes helped with this sort of thing ... clear all project files & rebuild. Haven't checked if this is still the state of affairs in recent versions, since I don't use the pin assignment editor anymore.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…