swram48.bsf
Upload User: abszbd2002
Upload Date: 2020-10-12
Package Size: 33407k
Code Size: 6k
Development Platform:

VHDL

  1. /*
  2. WARNING: Do NOT edit the input and output ports in this file in a text
  3. editor if you plan to continue editing the block that represents it in
  4. the Block Editor! File corruption is VERY likely to occur.
  5. */
  6. /*
  7. Copyright (C) 1991-2007 Altera Corporation
  8. Your use of Altera Corporation's design tools, logic functions 
  9. and other software and tools, and its AMPP partner logic 
  10. functions, and any output files from any of the foregoing 
  11. (including device programming or simulation files), and any 
  12. associated documentation or information are expressly subject 
  13. to the terms and conditions of the Altera Program License 
  14. Subscription Agreement, Altera MegaCore Function License 
  15. Agreement, or other applicable license agreement, including, 
  16. without limitation, that your use is for the sole purpose of 
  17. programming logic devices manufactured by Altera and sold by 
  18. Altera or its authorized distributors.  Please refer to the 
  19. applicable agreement for further details.
  20. */
  21. (header "symbol" (version "1.1"))
  22. (symbol
  23. (rect 0 0 256 160)
  24. (text "swram48" (rect 102 1 163 17)(font "Arial" (font_size 10)))
  25. (text "inst" (rect 8 144 25 156)(font "Arial" ))
  26. (port
  27. (pt 0 32)
  28. (input)
  29. (text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
  30. (text "data[7..0]" (rect 4 19 49 32)(font "Arial" (font_size 8)))
  31. (line (pt 0 32)(pt 112 32)(line_width 3))
  32. )
  33. (port
  34. (pt 0 48)
  35. (input)
  36. (text "wraddress[5..0]" (rect 0 0 92 14)(font "Arial" (font_size 8)))
  37. (text "wraddress[5..0]" (rect 4 35 73 48)(font "Arial" (font_size 8)))
  38. (line (pt 0 48)(pt 112 48)(line_width 3))
  39. )
  40. (port
  41. (pt 0 64)
  42. (input)
  43. (text "wren" (rect 0 0 30 14)(font "Arial" (font_size 8)))
  44. (text "wren" (rect 4 51 26 64)(font "Arial" (font_size 8)))
  45. (line (pt 0 64)(pt 112 64)(line_width 1))
  46. )
  47. (port
  48. (pt 0 88)
  49. (input)
  50. (text "rdaddress[5..0]" (rect 0 0 87 14)(font "Arial" (font_size 8)))
  51. (text "rdaddress[5..0]" (rect 4 75 72 88)(font "Arial" (font_size 8)))
  52. (line (pt 0 88)(pt 112 88)(line_width 3))
  53. )
  54. (port
  55. (pt 0 104)
  56. (input)
  57. (text "rden" (rect 0 0 25 14)(font "Arial" (font_size 8)))
  58. (text "rden" (rect 4 91 25 104)(font "Arial" (font_size 8)))
  59. (line (pt 0 104)(pt 112 104)(line_width 1))
  60. )
  61. (port
  62. (pt 0 128)
  63. (input)
  64. (text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
  65. (text "clock" (rect 4 115 27 128)(font "Arial" (font_size 8)))
  66. (line (pt 0 128)(pt 176 128)(line_width 1))
  67. )
  68. (port
  69. (pt 200 160)
  70. (input)
  71. (text "aclr" (rect 0 0 14 21)(font "Arial" (font_size 8))(vertical))
  72. (text "aclr" (rect 186 139 199 156)(font "Arial" (font_size 8))(vertical))
  73. (line (pt 200 160)(pt 200 136)(line_width 1))
  74. )
  75. (port
  76. (pt 256 88)
  77. (output)
  78. (text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
  79. (text "q[7..0]" (rect 223 75 253 88)(font "Arial" (font_size 8)))
  80. (line (pt 256 88)(pt 192 88)(line_width 3))
  81. )
  82. (drawing
  83. (text "48 Word(s)" (rect 136 45 148 91)(font "Arial" )(vertical))
  84. (text "RAM" (rect 149 58 161 78)(font "Arial" )(vertical))
  85. (text "Block Type: M4K" (rect 41 140 112 152)(font "Arial" ))
  86. (line (pt 128 24)(pt 168 24)(line_width 1))
  87. (line (pt 168 24)(pt 168 112)(line_width 1))
  88. (line (pt 168 112)(pt 128 112)(line_width 1))
  89. (line (pt 128 112)(pt 128 24)(line_width 1))
  90. (line (pt 112 27)(pt 120 27)(line_width 1))
  91. (line (pt 120 27)(pt 120 39)(line_width 1))
  92. (line (pt 120 39)(pt 112 39)(line_width 1))
  93. (line (pt 112 39)(pt 112 27)(line_width 1))
  94. (line (pt 112 34)(pt 114 36)(line_width 1))
  95. (line (pt 114 36)(pt 112 38)(line_width 1))
  96. (line (pt 104 36)(pt 112 36)(line_width 1))
  97. (line (pt 120 32)(pt 128 32)(line_width 3))
  98. (line (pt 112 43)(pt 120 43)(line_width 1))
  99. (line (pt 120 43)(pt 120 55)(line_width 1))
  100. (line (pt 120 55)(pt 112 55)(line_width 1))
  101. (line (pt 112 55)(pt 112 43)(line_width 1))
  102. (line (pt 112 50)(pt 114 52)(line_width 1))
  103. (line (pt 114 52)(pt 112 54)(line_width 1))
  104. (line (pt 104 52)(pt 112 52)(line_width 1))
  105. (line (pt 120 48)(pt 128 48)(line_width 3))
  106. (line (pt 112 59)(pt 120 59)(line_width 1))
  107. (line (pt 120 59)(pt 120 71)(line_width 1))
  108. (line (pt 120 71)(pt 112 71)(line_width 1))
  109. (line (pt 112 71)(pt 112 59)(line_width 1))
  110. (line (pt 112 66)(pt 114 68)(line_width 1))
  111. (line (pt 114 68)(pt 112 70)(line_width 1))
  112. (line (pt 104 68)(pt 112 68)(line_width 1))
  113. (line (pt 120 64)(pt 128 64)(line_width 1))
  114. (line (pt 112 83)(pt 120 83)(line_width 1))
  115. (line (pt 120 83)(pt 120 95)(line_width 1))
  116. (line (pt 120 95)(pt 112 95)(line_width 1))
  117. (line (pt 112 95)(pt 112 83)(line_width 1))
  118. (line (pt 112 90)(pt 114 92)(line_width 1))
  119. (line (pt 114 92)(pt 112 94)(line_width 1))
  120. (line (pt 104 92)(pt 112 92)(line_width 1))
  121. (line (pt 120 88)(pt 128 88)(line_width 3))
  122. (line (pt 112 99)(pt 120 99)(line_width 1))
  123. (line (pt 120 99)(pt 120 111)(line_width 1))
  124. (line (pt 120 111)(pt 112 111)(line_width 1))
  125. (line (pt 112 111)(pt 112 99)(line_width 1))
  126. (line (pt 112 106)(pt 114 108)(line_width 1))
  127. (line (pt 114 108)(pt 112 110)(line_width 1))
  128. (line (pt 104 108)(pt 112 108)(line_width 1))
  129. (line (pt 120 104)(pt 128 104)(line_width 1))
  130. (line (pt 104 36)(pt 104 129)(line_width 1))
  131. (line (pt 176 92)(pt 176 129)(line_width 1))
  132. (line (pt 184 83)(pt 192 83)(line_width 1))
  133. (line (pt 192 83)(pt 192 95)(line_width 1))
  134. (line (pt 192 95)(pt 184 95)(line_width 1))
  135. (line (pt 184 95)(pt 184 83)(line_width 1))
  136. (line (pt 184 90)(pt 186 92)(line_width 1))
  137. (line (pt 186 92)(pt 184 94)(line_width 1))
  138. (line (pt 176 92)(pt 184 92)(line_width 1))
  139. (line (pt 168 88)(pt 184 88)(line_width 3))
  140. (line (pt 188 95)(pt 188 99)(line_width 1))
  141. )
  142. )