dtcbd_design.mvc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. include "primitives.alh"
  2. SimpleAttribute Float {}
  3. SimpleAttribute String {}
  4. Class Block{}
  5. Class ICBlock{}
  6. Class ConstantBlock{
  7. name = "Constant"
  8. value : Float {
  9. target_lower_cardinality = 1
  10. target_upper_cardinality = 1
  11. }
  12. }
  13. Class AdditionBlock{
  14. name = "Addition"
  15. }
  16. Class NegatorBlock{
  17. name = "Negator"
  18. }
  19. Class MultiplyBlock{
  20. name = "Multiply"
  21. }
  22. Class InverseBlock{
  23. name = "Inverse"
  24. }
  25. Class DelayBlock{
  26. name = "Delay"
  27. }
  28. Class ProbeBlock{
  29. name = "Probe"
  30. name : String {
  31. target_lower_cardinality = 1
  32. target_upper_cardinality = 1
  33. }
  34. }
  35. Association Link(Block, Block){}
  36. Association InitialCondition(Block, ICBlock){
  37. source_lower_cardinality = 1
  38. source_upper_cardinality = 1
  39. }
  40. Inheritance (ConstantBlock, Block){}
  41. Inheritance (AdditionBlock, Block){}
  42. Inheritance (NegatorBlock, Block){}
  43. Inheritance (MultiplyBlock, Block){}
  44. Inheritance (InverseBlock, Block){}
  45. Inheritance (ProbeBlock, Block){}
  46. Inheritance (ICBlock, Block){}
  47. Inheritance (DelayBlock, ICBlock){}