hm62256dip28.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. """
  2. # TOP2049 Open Source programming suite
  3. #
  4. # HM62256 DIP28 SRAM support
  5. #
  6. # Copyright (c) 2011 Michael Buesch <m@bues.ch>
  7. #
  8. # This program is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 2 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License along
  19. # with this program; if not, write to the Free Software Foundation, Inc.,
  20. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  21. """
  22. from .generic_sram import *
  23. class Chip_HM62256DIP28(Chip_genericSRAM):
  24. def __init__(self):
  25. Chip_genericSRAM.__init__(self,
  26. chipPackage = "DIP28",
  27. chipPinVCC = 28,
  28. chipPinGND = 14,
  29. VCCVoltage = 5,
  30. nrAddressBits = 15,
  31. nrDataBits = 8,
  32. )
  33. ChipDescription(
  34. Chip_HM62256DIP28,
  35. bitfile = "hm62256dip28",
  36. runtimeID = (0x000A, 0x01),
  37. chipType = ChipDescription.TYPE_SRAM,
  38. chipVendors = "S@Tech",
  39. description = "HM62256 SRAM",
  40. packages = ( ("DIP28", ""), )
  41. )