Uploaded by First Time Silicon

module charROM

advertisement
module charROM (address, data);
input [8:0] address;
output
data;
// Character 1
assign data = (address == 0) ? 0 :
(address == 1) ? 0 :
(address == 2) ? 0 :
(address == 3) ? 0 :
(address == 4) ? 0 :
(address == 5) ? 1 :
(address == 6) ? 0 :
(address == 7) ? 0 :
//
(address == 8) ? 0 :
(address == 9) ? 0 :
(address == 10) ? 0 :
(address == 11) ? 0 :
(address == 12) ? 1 :
(address == 13) ? 1 :
(address == 14) ? 0 :
(address == 15) ? 0 :
//
(address == 16) ? 0 :
(address == 17) ? 0 :
(address == 18) ? 0 :
(address == 19) ? 1 :
(address == 20) ? 1 :
(address == 21) ? 1 :
(address == 22) ? 0 :
(address == 23) ? 0 :
//
(address == 24) ? 0 :
(address == 25) ? 0 :
(address == 26) ? 1 :
(address == 27) ? 1 :
(address == 28) ? 1 :
(address == 29) ? 1 :
(address == 30) ? 0 :
(address == 31) ? 0 :
//
(address == 32) ? 0 :
(address == 33) ? 1 :
(address == 34) ? 1 :
(address == 35) ? 0 :
(address == 36) ? 1 :
(address == 37) ? 1 :
(address == 38) ? 0 :
(address == 39) ? 0 :
//
(address == 40) ? 0 :
(address == 41) ? 0 :
(address == 42) ? 0 :
(address == 43) ? 0 :
(address == 44) ? 1 :
(address == 45) ? 1 :
(address == 46) ? 0 :
(address == 47) ? 0 :
//
(address == 48) ? 0 :
(address == 49) ? 0 :
(address == 50) ? 0 :
(address == 51) ? 0 :
(address == 52) ? 1 :
(address == 53) ? 1 :
(address == 54) ? 0 :
(address == 55) ? 0 :
//
(address == 56) ? 0 :
(address == 57) ? 0 :
(address == 58) ? 0 :
(address == 59) ? 0 :
(address == 60) ? 1 :
(address == 61) ? 1 :
(address == 62) ? 0 :
(address == 63) ? 0 :
//
(address == 64) ? 0 :
(address == 65) ? 0 :
(address == 66) ? 0 :
(address == 67) ? 0 :
(address == 68) ? 1 :
(address == 69) ? 1 :
(address == 70) ? 0 :
(address == 71) ? 0 :
//
(address == 72) ? 0 :
(address == 73) ? 0 :
(address == 74) ? 0 :
(address == 75) ? 0 :
(address == 76) ? 1 :
(address == 77) ? 1 :
(address == 78) ? 0 :
(address == 79) ? 0 :
//
(address == 80) ? 0 :
(address == 81) ? 0 :
(address == 82) ? 0 :
(address == 83) ? 0 :
(address == 84) ? 1 :
(address == 85) ? 1 :
(address == 86) ? 0 :
(address == 87) ? 0 :
//
(address == 88) ? 0 :
(address == 89) ? 0 :
(address == 90) ? 0 :
(address == 91) ? 0 :
(address == 92) ? 1 :
(address == 93) ? 1 :
(address == 94) ? 0 :
(address == 95) ? 0 :
//
(address == 96) ? 0 :
(address == 97) ? 0 :
(address == 98) ? 0 :
(address == 99) ? 0 :
(address ==100) ? 1 :
(address ==101) ? 1 :
(address ==102) ? 0 :
(address ==103) ? 0 :
//
(address ==104) ? 0 :
(address ==105) ? 0 :
(address ==106) ? 0 :
(address ==107) ? 0 :
(address ==108) ? 1 :
(address ==109) ? 1 :
(address ==110) ? 0 :
(address ==111) ? 0 :
//
(address ==112) ? 0 :
(address ==113) ? 1 :
(address ==114) ? 1 :
(address ==115) ? 1 :
(address ==116) ? 1 :
(address ==117) ? 1 :
(address ==118) ? 1 :
(address ==119) ? 1 :
//
(address ==120) ? 0 :
(address ==121) ? 1 :
(address ==122) ? 1 :
(address ==123) ? 1 :
(address ==124) ? 1 :
(address ==125) ? 1 :
(address ==126) ? 1 :
(address ==127) ? 1 :
//
// Character 2
(address ==128) ? 0 :
(address ==129) ? 0 :
(address ==130) ? 1 :
(address ==131) ? 1 :
(address ==132) ? 1 :
(address ==133) ? 1 :
(address ==134) ? 0 :
(address ==135) ? 0 :
//
(address ==136) ? 0 :
(address ==137) ? 1 :
(address ==138) ? 1 :
(address ==139) ? 1 :
(address ==140) ? 1 :
(address ==141) ? 1 :
(address ==142) ? 1 :
(address ==143) ? 0 :
//
(address ==144) ? 1 :
(address ==145) ? 1 :
(address ==146) ? 1 :
(address ==147) ? 0 :
(address ==148) ? 0 :
(address ==149) ? 1 :
(address ==150) ? 1 :
(address ==151) ? 1 :
//
(address ==152) ? 1 :
(address ==153) ? 1 :
(address ==154) ? 0 :
(address ==155) ? 0 :
(address ==156) ? 0 :
(address ==157) ? 0 :
(address ==158) ? 1 :
(address ==159) ? 1 :
//
(address ==160) ? 1 :
(address ==161) ? 1 :
(address ==162) ? 0 :
(address ==163) ? 0 :
(address ==164) ? 0 :
(address ==165) ? 0 :
(address ==166) ? 1 :
(address ==167) ? 1 :
//
(address ==168) ? 0 :
(address ==169) ? 1 :
(address ==170) ? 0 :
(address ==171) ? 0 :
(address ==172) ? 0 :
(address ==173) ? 0 :
(address ==174) ? 1 :
(address ==175) ? 1 :
//
(address ==176) ? 0 :
(address ==177) ? 0 :
(address ==178) ? 0 :
(address ==179) ? 0 :
(address ==180) ? 0 :
(address ==181) ? 0 :
(address ==182) ? 1 :
(address ==183) ? 1 :
//
(address ==184) ? 0 :
(address ==185) ? 0 :
(address ==186) ? 0 :
(address ==187) ? 0 :
(address ==188) ? 0 :
(address ==189) ? 1 :
(address ==190) ? 1 :
(address ==191) ? 0 :
//
(address ==192) ? 0 :
(address ==193) ? 0 :
(address ==194) ? 0 :
(address ==195) ? 0 :
(address ==196) ? 1 :
(address ==197) ? 1 :
(address ==198) ? 1 :
(address ==199) ? 0 :
//
(address ==200) ? 0 :
(address ==201) ? 0 :
(address ==202) ? 0 :
(address ==203) ? 1 :
(address ==204) ? 1 :
(address ==205) ? 1 :
(address ==206) ? 0 :
(address ==207) ? 0 :
//
(address ==208) ? 0 :
(address ==209) ? 0 :
(address ==210) ? 1 :
(address ==211) ? 1 :
(address ==212) ? 1 :
(address ==213) ? 0 :
(address ==214) ? 0 :
(address ==215) ? 0 :
//
(address ==216) ? 0 :
(address ==217) ? 1 :
(address ==218) ? 1 :
(address ==219) ? 1 :
(address ==220) ? 0 :
(address ==221) ? 0 :
(address ==222) ? 0 :
(address ==223) ? 0 :
//
(address ==224) ? 1 :
(address ==225) ? 1 :
(address ==226) ? 1 :
(address ==227) ? 0 :
(address ==228) ? 0 :
(address ==229) ? 0 :
(address ==230) ? 0 :
(address ==231) ? 0 :
//
(address ==232) ? 1 :
(address ==233) ? 1 :
(address ==234) ? 0 :
(address ==235) ? 0 :
(address ==236) ? 0 :
(address ==237) ? 0 :
(address ==238) ? 0 :
(address ==239) ? 0 :
//
(address ==240) ? 1 :
(address ==241) ? 1 :
(address ==242) ? 1 :
(address ==243) ? 1 :
(address ==244) ? 1 :
(address ==245) ? 1 :
(address ==246) ? 1 :
(address ==247) ? 1 :
//
(address ==248) ? 1 :
(address ==249) ? 1 :
(address ==250) ? 1 :
(address ==251) ? 1 :
(address ==252) ? 1 :
(address ==253) ? 1 :
(address ==254) ? 1 :
(address ==255) ? 1 :
// Character 3
//
(address ==256) ? 0 :
(address ==257) ? 0 :
(address ==258) ? 1 :
(address ==259) ? 1 :
(address ==260) ? 1 :
(address ==261) ? 1 :
(address ==262) ? 1 :
(address ==263) ? 0 :
//
(address ==264) ? 0 :
(address ==265) ? 1 :
(address ==266) ? 1 :
(address ==267) ? 1 :
(address ==268) ? 1 :
(address ==269) ? 1 :
(address ==270) ? 1 :
(address ==271) ? 0 :
//
(address ==272) ? 1 :
(address ==273) ? 1 :
(address ==274) ? 1 :
(address ==275) ? 0 :
(address ==276) ? 0 :
(address ==277) ? 1 :
(address ==278) ? 1 :
(address ==279) ? 1 :
//
(address ==280) ? 1 :
(address ==281) ? 1 :
(address ==282) ? 0 :
(address ==283) ? 0 :
(address ==284) ? 0 :
(address ==285) ? 0 :
(address ==286) ? 1 :
(address ==287) ? 1 :
//
(address ==288) ? 0 :
(address ==289) ? 0 :
(address ==290) ? 0 :
(address ==291) ? 0 :
(address ==292) ? 0 :
(address ==293) ? 0 :
(address ==294) ? 1 :
(address ==295) ? 1 :
//
(address ==296) ? 0 :
(address ==297) ? 0 :
(address ==298) ? 0 :
(address ==299) ? 0 :
(address ==300) ? 0 :
(address ==301) ? 1 :
(address ==302) ? 1 :
(address ==303) ? 1 :
//
(address ==304) ? 0 :
(address ==305) ? 0 :
(address ==306) ? 0 :
(address ==307) ? 1 :
(address ==308) ? 1 :
(address ==309) ? 1 :
(address ==310) ? 1 :
(address ==311) ? 0 :
//
(address ==312) ? 0 :
(address ==313) ? 0 :
(address ==314) ? 0 :
(address ==315) ? 1 :
(address ==316) ? 1 :
(address ==317) ? 1 :
(address ==318) ? 1 :
(address ==319) ? 0 :
//
(address ==320) ? 0 :
(address ==321) ? 0 :
(address ==322) ? 0 :
(address ==323) ? 0 :
(address ==324) ? 0 :
(address ==325) ? 1 :
(address ==326) ? 1 :
(address ==327) ? 1 :
//
(address ==328) ? 0 :
(address ==329) ? 0 :
(address ==330) ? 0 :
(address ==331) ? 0 :
(address ==332) ? 0 :
(address ==333) ? 0 :
(address ==334) ? 1 :
(address ==335) ? 1 :
//
(address ==336) ? 0 :
(address ==337) ? 0 :
(address ==338) ? 0 :
(address ==339) ? 0 :
(address ==340) ? 0 :
(address ==341) ? 0 :
(address ==342) ? 1 :
(address ==343) ? 1 :
//
(address ==344) ? 0 :
(address ==345) ? 0 :
(address ==346) ? 0 :
(address ==347) ? 0 :
(address ==348) ? 0 :
(address ==349) ? 0 :
(address ==350) ? 1 :
(address ==351) ? 1 :
//
(address ==352) ? 1 :
(address ==353) ? 1 :
(address ==354) ? 0 :
(address ==355) ? 0 :
(address ==356) ? 0 :
(address ==357) ? 0 :
(address ==358) ? 1 :
(address ==359) ? 1 :
//
(address ==360) ? 1 :
(address ==361) ? 1 :
(address ==362) ? 1 :
(address ==363) ? 0 :
(address ==364) ? 0 :
(address ==365) ? 1 :
(address ==366) ? 1 :
(address ==367) ? 1 :
//
(address ==368) ? 0 :
(address ==369) ? 1 :
(address ==370) ? 1 :
(address ==371) ? 1 :
(address ==372) ? 1 :
(address ==373) ? 1 :
(address ==374) ? 1 :
(address ==375) ? 1 :
//
(address ==376) ? 0 :
(address ==377) ? 0 :
(address ==378) ? 1 :
(address ==379) ? 1 :
(address ==380) ? 1 :
(address ==381) ? 1 :
(address ==382) ? 1 :
(address ==383) ? 0 :
// Character 4
//
(address ==384) ? 0 :
(address ==385) ? 0 :
(address ==386) ? 0 :
(address ==387) ? 0 :
(address ==388) ? 1 :
(address ==389) ? 1 :
(address ==390) ? 0 :
(address ==391) ? 0 :
//
(address ==392) ? 0 :
(address ==393) ? 0 :
(address ==394) ? 0 :
(address ==395) ? 0 :
(address ==396) ? 1 :
(address ==397) ? 1 :
(address ==398) ? 0 :
(address ==399) ? 0 :
//
(address ==400) ? 0 :
(address ==401) ? 0 :
(address ==402) ? 0 :
(address ==403) ? 1 :
(address ==404) ? 1 :
(address ==405) ? 1 :
(address ==406) ? 0 :
(address ==407) ? 0 :
//
(address ==408) ? 0 :
(address ==409) ? 0 :
(address ==410) ? 0 :
(address ==411) ? 1 :
(address ==412) ? 1 :
(address ==413) ? 0 :
(address ==414) ? 0 :
(address ==415) ? 0 :
//
(address ==416) ? 0 :
(address ==417) ? 0 :
(address ==418) ? 1 :
(address ==419) ? 1 :
(address ==420) ? 1 :
(address ==421) ? 0 :
(address ==422) ? 0 :
(address ==423) ? 0 :
//
(address ==424) ? 0 :
(address ==425) ? 0 :
(address ==426) ? 1 :
(address ==427) ? 1 :
(address ==428) ? 0 :
(address ==429) ? 0 :
(address ==430) ? 0 :
(address ==431) ? 0 :
//
(address ==432) ? 0 :
(address ==433) ? 1 :
(address ==434) ? 1 :
(address ==435) ? 1 :
(address ==436) ? 0 :
(address ==437) ? 0 :
(address ==438) ? 0 :
(address ==439) ? 0 :
//
(address ==440) ? 0 :
(address ==441) ? 1 :
(address ==442) ? 1 :
(address ==443) ? 0 :
(address ==444) ? 0 :
(address ==445) ? 1 :
(address ==446) ? 1 :
(address ==447) ? 0 :
//
(address ==448) ? 1 :
(address ==449) ? 1 :
(address ==450) ? 1 :
(address ==451) ? 0 :
(address ==452) ? 0 :
(address ==453) ? 1 :
(address ==454) ? 1 :
(address ==455) ? 0 :
//
(address ==456) ? 1 :
(address ==457) ? 1 :
(address ==458) ? 1 :
(address ==459) ? 1 :
(address ==460) ? 1 :
(address ==461) ? 1 :
(address ==462) ? 1 :
(address ==463) ? 1 :
//
(address ==464) ? 0 :
(address ==465) ? 1 :
(address ==466) ? 1 :
(address ==467) ? 1 :
(address ==468) ? 1 :
(address ==469) ? 1 :
(address ==470) ? 1 :
(address ==471) ? 1 :
//
(address ==472) ? 0 :
(address ==473) ? 0 :
(address ==474) ? 0 :
(address ==475) ? 0 :
(address ==476) ? 0 :
(address ==477) ? 1 :
(address ==478) ? 1 :
(address ==479) ? 0 :
//
(address ==480) ? 0 :
(address ==481) ? 0 :
(address ==482) ? 0 :
(address ==483) ? 0 :
(address ==484) ? 0 :
(address ==485) ? 1 :
(address ==486) ? 1 :
(address ==487) ? 0 :
//
(address ==488) ? 0 :
(address ==489) ? 0 :
(address ==490) ? 0 :
(address ==491) ? 0 :
(address ==492) ? 0 :
(address ==493) ? 1 :
(address ==494) ? 1 :
(address ==495) ? 0 :
//
(address ==496) ? 0 :
(address ==497) ? 0 :
(address ==498) ? 0 :
(address ==499) ? 0 :
(address ==500) ? 0 :
(address ==501) ? 1 :
(address ==502) ? 1 :
(address ==503) ? 0 :
//
(address ==504) ? 0 :
(address ==505) ? 0 :
(address ==506) ? 0 :
(address ==507) ? 0 :
(address ==508) ? 0 :
(address ==509) ? 1 :
(address ==510) ? 1 : 0 ;
endmodule
Download