FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-02-2004, 11:41 PM
J.W. Holloway
Guest
 
Posts: n/a
Default StateCad, IO vector question.

I'm fairly new to this FPGA work, so my apologies if this is silly.

I'm using Xilinx's StateCad software to implement a simply FSM (~30
states) with the intention of using a Spartan3, XC3S200.

I have a number of 12-bit buses coming into the FSM. Three of these buses
are IO buses -- I want to read data off of the bus in some states, and
write to the bus in other states. Seems like a reasonable request, eh?

The problem: I've laid out the vectors in StateCad, reading and writing to
the VHDL variable names in various states. Additionally, I have set the
tristate bit on these buses in the appropriate states. When StateCad
generates the VHDL, it pronounces these vectors as OUTPUT vectors. Hrm, a
little strange.

I tried to get around this by having a separate set of buses that are
dedicated input buses. The PCB would then just short the input bus pins to
the output bus pins, and I'd jockey buses around so the output buses would
be high-impedance when appropriate. I know, I know, what a kludge, but I
need this done ASAP.

Well, to make a long story short, I can't map the FSM to the device I'm
using (and I basically have to use this particular device) -- I'm using to
many IOB. So, I need to get rid of 3 of those dedicated input buses, and
get some actual IO buses.

Is there any way to do this in StateCad? Am I missing something simple
here? I only have ~4 days experience with the Xilinx software, so bear
that in mind.

Useful details on my StateCad configuration:

Options: Full Vector Support, Retain Output Values Datatype: std_logic,
Bit: std_logic, Vector: std_logic_vector VHDL output
Language Vendor: IEEE 1076


Anyway, any advice would be appreciated. Thanks.

-Jack


--
Jack W. Holloway [email protected]

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you make a vector of vectors? [email protected] Verilog 1 04-21-2008 06:42 PM
vpiHandle for a portion of a vector [email protected] Verilog 11 07-18-2007 07:03 PM
Need StateCAD 4.11! mmock FPGA 10 10-10-2004 06:51 AM
Question on if (vector) ... David Rogoff Verilog 1 09-10-2003 11:00 PM


All times are GMT +1. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved