The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

42 lines
477 B

4 weeks ago
  1. # Checks whether the Hamming distance between X and Y is 0 or 1.
  2. .model ham01.blif
  3. .inputs x2 y2 x1 y1 x0 y0
  4. .outputs H01
  5. .names one
  6. 1
  7. .names y0 one one a
  8. 11- 1
  9. 0-0 1
  10. .names x0 a a b
  11. 11- 1
  12. 0-0 1
  13. .names y1 one b c
  14. 11- 1
  15. 0-1 1
  16. .names y1 b one d
  17. 11- 1
  18. 0-1 1
  19. .names y1 b one e
  20. 11- 1
  21. 0-0 1
  22. .names y1 one b f
  23. 11- 1
  24. 0-0 1
  25. .names x1 c d g
  26. 11- 1
  27. 0-1 1
  28. .names x1 e f h
  29. 11- 1
  30. 0-0 1
  31. .names y2 g h i
  32. 11- 1
  33. 0-1 1
  34. .names y2 h g j
  35. 11- 1
  36. 0-1 1
  37. .names x2 i j k
  38. 11- 1
  39. 0-1 1
  40. .names k H01
  41. 1 1
  42. .end