OK, I've just got back to this project after dealing with other hot potatoes :-)
Now, I have my signals defined, and (partially) my logic, and I have managed to find the pin assignments editor to assign the signals to the pins.
I am stuck on how to do the 'rest' of the pin configuration. Perhaps it would help if I explained a bot of what I wanted to do....
Most of the logic is combinational, and some signals are just passing through the device to get level shifted!
There is however one slightly fancy bit, connecting to a device with an 8 bit multiplexed 8 bit address/data bus from a non multiplexed bus.
I can extend the non multiplexed bus cycles, so my approach was to simply to pass the address to the output for a time determined by a counter (I have a clock on one of the dedicated clock inputs), and the switch to the data, input or output as required. Essentially I have a (internal) counter that functions as a sequencer for the operations.
So here are the problems I am having trouble solving:
1) On the input/output pins, how do I define the signal which is to determine when the pin goes tri-state?
2) The counter value is only used internally, so I was planning to use the registers that correspond to input pins, something that appears possible to configure looking at the data sheet. But I cannot understand how to do this! (That is the register output is fed back into the PIA and the input level on the corresponding pin is fed back into the PIA on a seperate path).
3) How do I configure things like weak pull ups on the output cells?
Thanks for any help, I am finding the Altera documentation difficult to follow, it's seems to be orientated around a top down FPGA design flow rather than bottom up glue logic design.