Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Synthesis

 
Thread Tools Search this Thread
Old 10-21-2006, 11:05 AM   #1
Default Synthesis


Hallo,

I have a question, I want to program Cypress PALCE20V8, with the following VHDL code. but I can not fit following code on the PALCE20V8, it needs more outputs than 8. But in my code, I have made it clear that the number of outputs is 7, so it should be fit on the PALCE20V8. Can this vhdl code be more optimized in the view of synthesis?

---------------------------------------------------------------
LIBRARY ieee;
USE ieee.std_logic_1164.all;


ENTITY PAL IS
port(
Mode1,
Mode2,
Power_off,
Osc_input,
MAX_232_pin_9,
PULS,
Reset :IN Std_Logic;

EN5V,
EN10V,
Zener5V,
Osc_output,
PTA0_PAL,
PTA1_PAL,
PTA4_PAL :OUT Std_Logic
);
END ENTITY PAL;

--
ARCHITECTURE behavioral OF PAL IS
BEGIN
control: Process(Mode1, Mode2, Power_off, Osc_input, MAX_232_pin_9, PULS, Reset )
Begin
If (Mode1 = '0' AND Mode2 = '0' AND Power_off = '0') then
--Normal Mode
EN5V <= 'Z';
EN10V <= 'Z';
Zener5V <= PULS;
Osc_output <= 'Z';
PTA0_PAL <= PULS;
PTA1_PAL <= PULS;
PTA4_PAL <= NOT Reset;
elsif (Mode1 = '0' AND Mode2 = '0' AND Power_off = '1') then
--Power_off mode
EN5V <= '1';
EN10V <= 'Z';
Zener5V <= 'Z';
Osc_output <= 'Z';
PTA0_PAL <= 'Z';
PTA1_PAL <= 'Z';
PTA4_PAL <= 'Z';
elsif (Mode1 = '0' AND Mode2 = '1') then
--Mode 2
EN5V <= '0';
EN10V <= '0';
Zener5V <= '1';
Osc_output <= Osc_input;
PTA0_PAL <= MAX_232_pin_9;
PTA1_PAL <= 'Z';
PTA4_PAL <= 'Z';
elsif (Mode1 = '1') then
--Mode 1
EN5V <= '0';
EN10V <= '1';
Zener5V <= 'Z';
Osc_output <= Osc_input;
PTA0_PAL <= MAX_232_pin_9;
PTA1_PAL <= '1';
PTA4_PAL <= '0';
end if;
End Process;
END ARCHITECTURE behavioral;
--------------------------------------------------------------------


lightofspace
lightofspace is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
synthesis error sekhar_kollati Hardware 0 11-13-2007 04:48 AM
Synplicity synthesis error etoktas Hardware 0 07-12-2006 01:52 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46